summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-15 18:31:47 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-15 18:31:47 -0400
commit67b836164997527b91452b19adbcb8aa3c5decf1 (patch)
treeb5876d311912e97b0592c7e208639f7b52813a75 /index.php
parent108e867605dbc7ece4cbcbecc89a674e9c154a9b (diff)
Refactoring: added controlled middleware and changed response class
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 5a8485c5..4dae312b 100644
--- a/index.php
+++ b/index.php
@@ -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();
}