diff --git a/routes/index.php b/routes/index.php index 0de0a65..9043f7a 100644 --- a/routes/index.php +++ b/routes/index.php @@ -13,6 +13,18 @@ // echo 'error 404'; // }); +/* +|-------------------------------------------------------------------------- +| Set up 500 handler +|-------------------------------------------------------------------------- +| +| Create a handler for error 500 +| +*/ +// app()->setErrorHandler(function() { +// response()->page(ViewsPath("errorPage.html", false), 500); +// }); + /* |-------------------------------------------------------------------------- | Set up Controller namespace