add error view 500 to app config
This commit is contained in:
parent
a7997429b7
commit
fefc18b892
4
web.php
4
web.php
@ -108,12 +108,12 @@ $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