Custom fatal error handler

This commit is contained in:
Pierre Rudloff 2019-11-27 23:49:01 +01:00
parent a5bd827d21
commit aabcee25f0
3 changed files with 37 additions and 0 deletions

View file

@ -45,6 +45,7 @@ $jsonController = new JsonController($container);
$downloadController = new DownloadController($container);
$container['errorHandler'] = [$frontController, 'error'];
$container['phpErrorHandler'] = [$frontController, 'fatalError'];
$app->get(
'/',