Refactor the configuration class for more simplicity.

This commit is contained in:
Taylor Otwell
2011-08-15 15:20:29 -05:00
parent 81a89604f9
commit 551cffcdbc

View File

@@ -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);
}
/**