Commit cfa201f1 by 王召彬

test

parent eb9bea37
......@@ -59,13 +59,13 @@ class CfgCenter
$keys = '';
foreach($keyArr as $key) {
if(!isset($valObj->$key)) {
break;
return;
}
$keys .= $key.':';
$valObj = $valObj->$key;
}
$rkey = $name.':'.trim($keys,':');
return [$rkey, $valObj];
return [trim($rkey,':'), $valObj];
}
protected static function dbConnect()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment