Commit c8be377d authored by Taylor Otwell's avatar Taylor Otwell

check for strict false in config class.

parent 9e8f5d57
...@@ -21,10 +21,9 @@ class Config { ...@@ -21,10 +21,9 @@ class Config {
// If a dot is not present, we will just return the // If a dot is not present, we will just return the
// entire configuration array. // entire configuration array.
// ----------------------------------------------------- // -----------------------------------------------------
if(strpos($key, '.') == 0) if(strpos($key, '.') === false)
{ {
static::load($key); static::load($key);
return static::$items[$key]; return static::$items[$key];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment