Custom fatal error handler
This commit is contained in:
parent
a5bd827d21
commit
aabcee25f0
3 changed files with 37 additions and 0 deletions
|
@ -45,6 +45,7 @@ $jsonController = new JsonController($container);
|
|||
$downloadController = new DownloadController($container);
|
||||
|
||||
$container['errorHandler'] = [$frontController, 'error'];
|
||||
$container['phpErrorHandler'] = [$frontController, 'fatalError'];
|
||||
|
||||
$app->get(
|
||||
'/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue