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 @@
- We could not find the page you requested, please check and try again - or Go Back Home -
+ ++ We could not find the page you requested, please check and try again + or Go Back Home +
+Internal Server Error. Please try again later.
+ +