diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-22 12:28:28 -0400 |
commit | 2230dd4e6b148346c0ec596b9e3e12996a762ed8 (patch) | |
tree | ef99ccde4f8b18592a3fb06a6ec45162c501fe38 /index.php | |
parent | a750b8ab2a0cb715da6fd9025a7ec8375db68a4d (diff) |
Code refactoring (add autoloader and change files organization)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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(); |