From 6208f67026f0cb354b9cbc33f22bcef601e36ab9 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 12 Aug 2017 05:06:54 +0000 Subject: [PATCH] Error Pages added --- .gitignore | 3 +++ resources/views/errors/401.blade.php | 7 +++++++ resources/views/errors/404.blade.php | 10 ++++++++++ 3 files changed, 20 insertions(+) create mode 100644 resources/views/errors/401.blade.php create mode 100644 resources/views/errors/404.blade.php diff --git a/.gitignore b/.gitignore index f2387b64..77f4a6ed 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,6 @@ phpvms_next.iml public/info.php local.conf.php + +# Error Logs +error_log diff --git a/resources/views/errors/401.blade.php b/resources/views/errors/401.blade.php new file mode 100644 index 00000000..d4ce8c52 --- /dev/null +++ b/resources/views/errors/401.blade.php @@ -0,0 +1,7 @@ +@extends('layouts.default.app') +@section('content') +
+

Unauthorized

+

Well, this is embarrassing, you are not authorized to access or perform this function. Click here to go back to the home page.

+
+@endsection \ No newline at end of file diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 00000000..93af0456 --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,10 @@ +@extends('layouts.default.app') +@section('content') +
+

Page Not Found

+

Well, this is embarrassing, the page you requested does not exist. Click here to go back to the home page. + +{{ $exception->getMessage() }} +

+
+@endsection