summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/index.php b/index.php
index bd691c10..cee8017d 100644
--- a/index.php
+++ b/index.php
@@ -1,8 +1,9 @@
<?php
-require __DIR__.'/check_setup.php';
-require __DIR__.'/common.php';
-require __DIR__.'/core/router.php';
+require __DIR__.'/app/check_setup.php';
+require __DIR__.'/app/common.php';
-$router = new Core\Router($registry);
+use Core\Router;
+
+$router = new Router($registry);
$router->execute();