From 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 13 May 2008 04:22:33 +0000 Subject: Some sweeping syntax changes for consistency: (! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace --- system/libraries/Config.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'system/libraries/Config.php') diff --git a/system/libraries/Config.php b/system/libraries/Config.php index 06e1cbe80..a5d268912 100644 --- a/system/libraries/Config.php +++ b/system/libraries/Config.php @@ -1,4 +1,4 @@ -config[$item])) + if ( ! isset($this->config[$item])) { return FALSE; } @@ -134,12 +134,12 @@ class CI_Config { } else { - if (! isset($this->config[$index])) + if ( ! isset($this->config[$index])) { return FALSE; } - if (! isset($this->config[$index][$item])) + if ( ! isset($this->config[$index][$item])) { return FALSE; } @@ -165,7 +165,7 @@ class CI_Config { */ function slash_item($item) { - if (! isset($this->config[$item])) + if ( ! isset($this->config[$item])) { return FALSE; } -- cgit v1.2.3-24-g4f1b