Commit 551cffcd authored by Taylor Otwell's avatar Taylor Otwell

Refactor the configuration class for more simplicity.

parent 81a89604
...@@ -62,15 +62,8 @@ class Config { ...@@ -62,15 +62,8 @@ class Config {
static::load($module, $file); 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);
} }
}
/** /**
* Parse a configuration key into its module, file, and key segments. * Parse a configuration key into its module, file, and key segments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment