diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-22 16:30:03 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-22 16:30:03 -0500 |
commit | 2f4651411b1827e1e5859ba6053052b508f455e0 (patch) | |
tree | ea07631e7a5e5850367f873c7a9c1a0e07e10638 /index.php | |
parent | a1923d3d7f9276e859d6fd6bee339f0ea00f6544 (diff) |
Add kiosk mode, public board access with read-only and auto-refresh
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,5 +4,10 @@ require __DIR__.'/check_setup.php'; require __DIR__.'/controllers/base.php'; require __DIR__.'/lib/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); + $router = new Router; $router->execute(); |