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

View File

@@ -21,10 +21,9 @@ class Config {
// 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];
}