Automatically check for Tinyboard updates
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
loadConfig();
|
||||
|
||||
function loadConfig() {
|
||||
global $board, $config, $__ip;
|
||||
global $board, $config, $__ip, $debug;
|
||||
|
||||
require 'config.php';
|
||||
if (file_exists('inc/instance-config.php')) {
|
||||
@@ -19,6 +19,12 @@
|
||||
require $board['dir'] . '/config.php';
|
||||
}
|
||||
|
||||
if($config['debug']) {
|
||||
if(!isset($debug))
|
||||
$debug = Array('sql');
|
||||
$debug['start'] = time();
|
||||
}
|
||||
|
||||
if(!isset($config['url_stylesheet']))
|
||||
$config['url_stylesheet'] = $config['root'] . 'style.css';
|
||||
if(!isset($config['url_javascript']))
|
||||
|
Reference in New Issue
Block a user