From c8be377d5abbfc5ae1fd0db6ad80b1a7cfb2aba6 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Jun 2011 21:03:23 -0500 Subject: [PATCH] check for strict false in config class. --- system/config.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/config.php b/system/config.php index 35505384..52f107dd 100644 --- a/system/config.php +++ b/system/config.php @@ -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]; }