diff --git a/system/config.php b/system/config.php index e504a3f9..e742b22c 100644 --- a/system/config.php +++ b/system/config.php @@ -62,7 +62,14 @@ public static function set($key, $value) static::load($module, $file); - (is_null($key)) ? static::$items[$module][$file] = $value : Arr::set(static::$items[$module][$file], $key, $value); + if (is_null($key)) + { + static::$items[$module][$file] = $value; + } + else + { + Arr::set(static::$items[$module][$file], $key, $value); + } } /**