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