Continuing to refactor the configuration class.

This commit is contained in:
Taylor Otwell
2011-08-15 15:12:02 -05:00
parent d9b7b7dc52
commit de38744d78

View File

@@ -62,7 +62,14 @@ class Config {
static::load($module, $file);
(is_null($key)) ? static::$items[$module][$file] = $value : Arr::set(static::$items[$module][$file], $key, $value);
if (is_null($key))
{
static::$items[$module][$file] = $value;
}
else
{
Arr::set(static::$items[$module][$file], $key, $value);
}
}
/**