2) Refactor App->config[] into Core\PConfig

This commit is contained in:
Philipp Holzer 2019-02-03 19:32:31 +01:00
parent f40c57fc20
commit 5c50684b50
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -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) {