Cleaner error handling

This commit is contained in:
Pierre Rudloff 2016-05-01 01:25:08 +02:00
parent 43804eebad
commit aba0243fd2
2 changed files with 116 additions and 118 deletions

View file

@ -30,6 +30,8 @@ $container['view'] = function ($c) {
$controller = new FrontController();
$container['errorHandler'] = array($controller, 'error');
$app->get(
'/',
array($controller, 'index')