diff --git a/app/routes/index.php b/app/routes/index.php index fcc7c31..613a997 100644 --- a/app/routes/index.php +++ b/app/routes/index.php @@ -10,9 +10,9 @@ | you set here will be called when a 404 error is encountered | */ -// app()->set404(function() { -// response()->page(ViewsPath("errors/404.html", false), 404); -// }); +app()->set404(function() { + response()->page(ViewsPath("errors/404.html", false), 404); +}); /* |-------------------------------------------------------------------------- @@ -24,9 +24,9 @@ | you set here will be called when a 500 error is encountered | */ -// app()->setErrorHandler(function() { -// response()->page(ViewsPath("errors/500.html", false), 500); -// }); +app()->setErrorHandler(function() { + response()->page(ViewsPath("errors/500.html", false), 500); +}); /* |-------------------------------------------------------------------------- diff --git a/app/views/errors/404.html b/app/views/errors/404.html index 6eb5bcf..99b5f99 100644 --- a/app/views/errors/404.html +++ b/app/views/errors/404.html @@ -3,30 +3,18 @@ Page Not Found - - - + - -

Error 4😵4

-

- We could not find the page you requested, please check and try again - or Go Back Home -

+ +
+
+

Error 404

+

+ We could not find the page you requested, please check and try again + or Go Back Home +

+
+
diff --git a/app/views/errors/500.html b/app/views/errors/500.html index 3f4be42..91bc0b2 100644 --- a/app/views/errors/500.html +++ b/app/views/errors/500.html @@ -3,30 +3,16 @@ Internal Server Error - - - + - -

- Error 5😵😵 -

-

Internal Server Error. Please try again later.

+ +
+
+

Error 500

+

Internal Server Error. Please try again later.

+

Go Back Home

+
+