diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-15 18:31:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-15 18:31:47 -0400 |
commit | 67b836164997527b91452b19adbcb8aa3c5decf1 (patch) | |
tree | b5876d311912e97b0592c7e208639f7b52813a75 /index.php | |
parent | 108e867605dbc7ece4cbcbecc89a674e9c154a9b (diff) |
Refactoring: added controlled middleware and changed response class
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,12 @@ <?php +use Kanboard\Core\Controller\Runner; + try { require __DIR__.'/app/common.php'; $container['router']->dispatch(); + $runner = new Runner($container); + $runner->execute(); } catch (Exception $e) { echo 'Internal Error: '.$e->getMessage(); } |