Outline Function & Accessibility Source code Function overview Credits
foreach (ar-
ray(’db_character_set’, ’cachedir’) as $variable)
if (isset($GLOBALS[$variable]))
unset($GLOBALS[$variable], $GLOBALS[$variable]);
// Load the settings...
require_once(dirname(__FILE__) . ’/Settings.php’);
// Make absolutely sure the cache directory is defined.
if ((empty($cachedir) || !file_exists($cachedir))
&& file_exists($boarddir . ’/cache’))
$cachedir = $boarddir . ’/cache’;
// Without those we can’t go anywhere
require_once($sourcedir . ’/QueryString.php’);
require_once($sourcedir . ’/Subs.php’);
require_once($sourcedir . ’/Subs-Auth.php’);
require_once($sourcedir . ’/Errors.php’);
require_once($sourcedir . ’/Load.php’);
// If $maintenance is set specifically to 2,
then we’re upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
Christopher B. Germann (Marie Curie Fellow) http://www.forum.cognovo.net
SMF v.2.0.14