unset($MySQL);
// Load configuration stuff
- mergeConfig(LOAD_CONFIG());
+ loadConfiguration();
// Load "databases" aka static arrays
LOAD_INC_ONCE("inc/databases.php");
}
// Run the init filter chain
- RUN_FILTER('init');
+ runFilterChain('init');
// Set default 'what' value
//* DEBUG: */ OUTPUT_HTML("-".$GLOBALS['module']."/".$GLOBALS['what']."-<br />");
// Load all active extension including language files when not upgrading.
// Check module for testing and count one click
- $dummy = CHECK_MODULE($GLOBALS['module']);
- if ($dummy == "done") COUNT_MODULE($GLOBALS['module']);
+ $dummy = checkModulePermissions($GLOBALS['module']);
+ if ($dummy == "done") countModuleHit($GLOBALS['module']);
unset($dummy);
// Shall we activate the exchange?
if (GET_EXT_VERSION("sql_patches") >= "0.3.6") {
// Generate random number
if (isset($GLOBALS['userid'])) {
- define('RAND_NUMBER', GEN_RANDOM_CODE(10, mt_rand(10000,32766), $GLOBALS['userid'], ""));
+ define('RAND_NUMBER', generateRandomCodde(10, mt_rand(10000,32766), $GLOBALS['userid'], ""));
} else {
- define('RAND_NUMBER', GEN_RANDOM_CODE(10, mt_rand(10000,32766), 0, ""));
+ define('RAND_NUMBER', generateRandomCodde(10, mt_rand(10000,32766), 0, ""));
}
} else {
// Generate weak (!!!) code
} // END - if
// Run the init filter chain
- RUN_FILTER('init');
+ runFilterChain('init');
}
if ((getTotalFatalErrors() > 0) && (isInstalled()) && (!defined('mxchange_installing')) && ($GLOBALS['output_mode'] != "1")) {