diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-09 23:21:23 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-09 23:21:23 -0400 |
commit | 7749b8ed569f6d27b0bb2ed4c2040e8b61ed4422 (patch) | |
tree | ee101992e87d740bdf0362e35ea040c866986f5a /index.php | |
parent | 7bd4697dfca41a21f5857f83d6b29108fafb9a1e (diff) |
Automatic actions
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -1,19 +1,8 @@ <?php require __DIR__.'/check_setup.php'; -require __DIR__.'/controllers/base.php'; -require __DIR__.'/lib/router.php'; +require __DIR__.'/common.php'; +require __DIR__.'/core/router.php'; -if (file_exists('config.php')) require 'config.php'; - -// Auto-refresh frequency in seconds for the public board view -defined('AUTO_REFRESH_DURATION') or define('AUTO_REFRESH_DURATION', 60); - -// Custom session save path -defined('SESSION_SAVE_PATH') or define('SESSION_SAVE_PATH', ''); - -// Database filename -defined('DB_FILENAME') or define('DB_FILENAME', 'data/db.sqlite'); - -$router = new Router; +$router = new Core\Router($registry); $router->execute(); |