summaryrefslogtreecommitdiffstats
path: root/system/codeigniter/Common.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/codeigniter/Common.php')
-rw-r--r--system/codeigniter/Common.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/codeigniter/Common.php b/system/codeigniter/Common.php
index 8b80b42b1..b0df52921 100644
--- a/system/codeigniter/Common.php
+++ b/system/codeigniter/Common.php
@@ -1,4 +1,4 @@
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -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;
}