Code refactoring (add autoloader and change files organization)

This commit is contained in:
Frédéric Guillot
2014-05-22 12:28:28 -04:00
parent a750b8ab2a
commit 2230dd4e6b
105 changed files with 614 additions and 606 deletions

View File

@@ -1,7 +1,10 @@
<?php
// Auto-refresh frequency in seconds for the public board view (60 seconds by default)
define('AUTO_REFRESH_DURATION', 60);
define('BOARD_PUBLIC_CHECK_INTERVAL', 60);
// Board refresh frequency in seconds (the value 0 disable this feature, 10 seconds by default)
define('BOARD_CHECK_INTERVAL', 10);
// Database driver: sqlite or mysql (sqlite by default)
define('DB_DRIVER', 'sqlite');