add error view 500 to app config
This commit is contained in:
parent
46ea01efe1
commit
a346405ea6
4
web.php
4
web.php
@ -108,11 +108,13 @@ $appConfig = [
|
||||
'antiCsrfTokenErrorResponse' => ['error' => 'no_valid_anti_csrf_token'],
|
||||
'antiCsrfTokenExceptions' => ['/oauth/token'],
|
||||
'loginRouteId' => 'login',
|
||||
'error404View' => 'error/404'
|
||||
'error404View' => 'error/404',
|
||||
'error500View' => 'error/500'
|
||||
];
|
||||
|
||||
$httpReponse = new HttpResponse(
|
||||
Container::$request,
|
||||
Container::$dbConnection,
|
||||
Container::$routeCollection,
|
||||
$appConfig,
|
||||
$_SERVER['REQUEST_METHOD'],
|
||||
|
Loading…
Reference in New Issue
Block a user