2) Refactor App->config[] into Core\PConfig
This commit is contained in:
parent
f40c57fc20
commit
5c50684b50
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class Config extends BaseObject
|
|||
* @param array $config
|
||||
* @param bool $overwrite Force value overwrite if the config key already exists
|
||||
*/
|
||||
public function loadConfigArray(array $config, $overwrite = false)
|
||||
public static function loadConfigArray(array $config, $overwrite = false)
|
||||
{
|
||||
foreach ($config as $category => $values) {
|
||||
foreach ($values as $key => $value) {
|
||||
|
|
Loading…
Reference in a new issue