// Remove MySQL array from namespace
unset($GLOBALS['mysql']);
- // Administrative functions
+ // Load cache
loadIncludeOnce('inc/load_cache.php');
// Init filter system
loadIncludeOnce($inc);
} // END - foreach
- // Init filter system here
- initFilterSystem();
+ // Load config
+ loadIncludeOnce('inc/load_config.php');
// Are we installation routine?
if ((!isInstalling()) && (getOutputMode() != '1') && (getOutputMode() != -1)) {
redirectToUrl('install.php');
} // END - if
- // Administrative functions
+ // Init filter system here
+ initFilterSystem();
+
+ // Load cache
loadIncludeOnce('inc/load_cache.php');
// Run the init filter chain
runFilterChain('init');
-
- // Load configuration file(s) here
- loadIncludeOnce('inc/load_config.php');
}
// Handle fatal errors