check for strict false in config class.

This commit is contained in:
Taylor Otwell 2011-06-16 21:03:23 -05:00
parent 9e8f5d57c1
commit c8be377d5a
1 changed files with 1 additions and 2 deletions

View File

@ -21,10 +21,9 @@ public static function get($key)
// If a dot is not present, we will just return the
// entire configuration array.
// -----------------------------------------------------
if(strpos($key, '.') == 0)
if(strpos($key, '.') === false)
{
static::load($key);
return static::$items[$key];
}