From: Philipp Holzer Date: Sun, 3 Feb 2019 18:32:31 +0000 (+0100) Subject: 2) Refactor App->config[] into Core\PConfig X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c50684b5047e259517d67372658ca86976839df;p=friendica.git 2) Refactor App->config[] into Core\PConfig --- diff --git a/src/Core/Config.php b/src/Core/Config.php index 6b9015c2eb..bec6539e27 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -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) {