diff --git a/system/config.php b/system/config.php index 7580a821..613afc25 100644 --- a/system/config.php +++ b/system/config.php @@ -68,7 +68,7 @@ public static function set($key, $value) throw new \Exception("Error setting configuration option. Option [$key] is not defined."); } - (is_null($key)) ? static::$items[$module][$file] = $value : static::$items[$module][$file][$key] = $value; + (is_null($key)) ? static::$items[$module][$file] = $value : Arr::set(static::$items[$module][$file], $key, $value); } /**