summaryrefslogtreecommitdiffstats
path: root/system/libraries/Config.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-05-05 18:39:18 +0200
commit7327499064ae165468c7440f8571c3e570b58a0b (patch)
tree4f0d0053e7d25f7064c63070edcbc3af114abed9 /system/libraries/Config.php
parent7539f67a23c8536f892263d8d7ab9448655d8e22 (diff)
Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
Changed ( ! condition) into (! condition) within the code
Diffstat (limited to 'system/libraries/Config.php')
-rw-r--r--system/libraries/Config.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/libraries/Config.php b/system/libraries/Config.php
index 9b8b07c5a..73f1986a0 100644
--- a/system/libraries/Config.php
+++ b/system/libraries/Config.php
@@ -66,7 +66,7 @@ class CI_Config {
return TRUE;
}
- if ( ! file_exists(APPPATH.'config/'.$file.EXT))
+ if (! file_exists(APPPATH.'config/'.$file.EXT))
{
if ($fail_gracefully === TRUE)
{
@@ -77,7 +77,7 @@ class CI_Config {
include(APPPATH.'config/'.$file.EXT);
- if ( ! isset($config) OR ! is_array($config))
+ if (! isset($config) OR ! is_array($config))
{
if ($fail_gracefully === TRUE)
{
@@ -125,7 +125,7 @@ class CI_Config {
{
if ($index == '')
{
- if ( ! isset($this->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;
}