Home >Backend Development >PHP Tutorial >ecshop $_CFG
ecshop The $_CFG array is mainly used to place some system parameters and data shared by the entire site. When used, ecshop often uses the $GLOBALS['_CFG'] global variable mode to process it.
ecshop’s $GLOBALS['_CFG'] mainly appears and initializes in includes/init.php. $_CFG = load_config(); the load_config() function is responsible for taking out the parameters. This ecshop function is included in the includeslib_common.php file.
function load_config()