Ecshop in the lib_common.php
/** * Initialize member Data Integration class * * @access public * @return object*/function &init_users () { $set _modules = false; static $cls = null; if ($cls! = null) { return $cls; } Include_once (Root_path. ' Includes/modules/integrates/'. $GLOBALS [' _cfg '] [' Integrate_code ']. '. php '); $cfg = Unserialize ($GLOBALS [' _cfg '] [' integrate_config ']); $CLS = new $GLOBALS [' _cfg '] [' Integrate_code '] ($cfg); return $cls;}
$cfg = Unserialize ($GLOBALS [' _cfg '] [' integrate_config ']);
Global $globals[' _cfg ' [' integrate_config '] This variable is not found, as if there is no definition [' integrate_config '] ah?
What exactly is this step, and what is the value of $cfg?
Reply to discussion (solution)
Find an entire folder search $GLOBALS find
Find an entire folder search $GLOBALS find
In lib_common.php, function load_config () assigns a value to the $globals global variable, but does not find the value $globals[' _cfg ' [' integrate_config '], so doubt,
$cfg = Unserialize ($GLOBALS [' _cfg '] [' integrate_config ']);
Think it should be shop_config. Integrate_config in this data sheet