summaryrefslogtreecommitdiffstats
path: root/system/codeigniter/Common.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/codeigniter/Common.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/codeigniter/Common.php')
-rw-r--r--system/codeigniter/Common.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 4554a712b..05720a459 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -140,16 +140,16 @@ function &get_config()
{
static $main_conf;
- if ( ! isset($main_conf))
+ if (! isset($main_conf))
{
- if ( ! file_exists(APPPATH.'config/config'.EXT))
+ if (! file_exists(APPPATH.'config/config'.EXT))
{
exit('The configuration file config'.EXT.' does not exist.');
}
require(APPPATH.'config/config'.EXT);
- if ( ! isset($config) OR ! is_array($config))
+ if (! isset($config) OR ! is_array($config))
{
exit('Your config file does not appear to be formatted correctly.');
}
@@ -169,11 +169,11 @@ function config_item($item)
{
static $config_item = array();
- if ( ! isset($config_item[$item]))
+ if (! isset($config_item[$item]))
{
$config =& get_config();
- if ( ! isset($config[$item]))
+ if (! isset($config[$item]))
{
return FALSE;
}