Moved messy $config initialization from inc/config.php to inc/functions.php.

This commit is contained in:
Michael Save 2012-03-21 12:00:00 +11:00
parent 4afd2c7cb2
commit 66b08bafef
2 changed files with 9 additions and 27 deletions

View file

@ -20,33 +20,8 @@
* More information: http://tinyboard.org/wiki/index.php?title=Config
*
*/
/* Ignore this */
$config = Array(
'db' => Array(),
'cache' => Array(),
'cookies' => Array(),
'error' => Array(),
'dir' => Array(),
'mod' => Array(),
'spam' => Array(),
'flood_filters' => Array(),
'wordfilters' => Array(),
'custom_capcode' => Array(),
'custom_tripcode' => Array(),
'dnsbl' => Array(),
'dnsbl_exceptions' => Array(),
'remote' => Array(),
'allowed_ext' => Array(),
'allowed_ext_files' => Array(),
'file_icons' => Array(),
'footer' => Array(),
'stylesheets' => Array(),
'additional_javascript' => Array(),
'markup' => Array()
);
/* End ignore */
/*
* =======================
* General/misc settings