Refactor error controller
This commit is contained in:
parent
f2717772a6
commit
ef493074d4
3 changed files with 18 additions and 45 deletions
|
@ -56,7 +56,7 @@ $downloadController = new DownloadController($container);
|
|||
|
||||
// Error handling.
|
||||
$container['errorHandler'] = [$frontController, 'error'];
|
||||
$container['phpErrorHandler'] = [$frontController, 'fatalError'];
|
||||
$container['phpErrorHandler'] = [$frontController, 'error'];
|
||||
|
||||
// Routes.
|
||||
$app->get(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue