check for strict false in config class.
This commit is contained in:
parent
9e8f5d57c1
commit
c8be377d5a
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue