summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-05-21 15:21:45 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-05-21 15:21:45 +1000
commitbdb05b16d84115067acfce2e9e53c699521bc69c (patch)
tree246531948dedccf2be9f6213105312ff34be2408 /inc/config.php
parent568761f99c613a1c294095cc81df35a1c6a01d5a (diff)
Automatically check for Tinyboard updates
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 800996c5..7fa9da2d 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -26,8 +26,12 @@
'custom_capcode' => Array(),
'dnsbl' => Array()
);
- // Database stuff
+ // Database stuff
+ // Automatically check if a newer version of Tinyboard is available when an administrator logs in
+ $config['check_updates'] = true;
+ // How often to check for updates
+ $config['check_updates_time'] = 43200; // 12 hours
// SQL driver ("mysql", "pgsql", "sqlite", "dblib", etc)
// http://www.php.net/manual/en/pdo.drivers.php
@@ -46,6 +50,9 @@
// Timeout duration in seconds (not all drivers support this)
$config['db']['timeout'] = 5;
+ // Shows some extra information at the bottom of pages. Good for debugging development.
+ // Also experimental.
+ $config['debug'] = false;
// Optional Memcached server for more cache/optimization (currently at debug state)
$config['memcached']['enabled'] = false;