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
1 changed files with 1 additions and 8 deletions

View File

@ -62,14 +62,7 @@ public static function set($key, $value)
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);
}
/**