summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorThanasis Polychronakis <babbos@gmail.com>2012-05-21 13:38:22 +0200
committerThanasis Polychronakis <thanpolas@gmail.com>2012-05-31 20:39:56 +0200
commit142eef9c0024420fdc1442eafe8e5cdd357451bb (patch)
tree85696e5039cbfd39505de500d49c3a69824f124d /system
parent8991cb85b9d9955270bdbbd96a08ba9141c5e11d (diff)
Edit to meet CI coding standards
Diffstat (limited to 'system')
-rw-r--r--system/core/Common.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 8ed18cdae..159cc0d2b 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -232,10 +232,10 @@ if ( ! function_exists('get_config'))
}
$file_path = APPPATH.'config/config.php';
- $found = false;
+ $found = FALSE;
if (file_exists($file_path))
{
- $found = true;
+ $found = TRUE;
require($file_path);
}
@@ -244,7 +244,7 @@ if ( ! function_exists('get_config'))
{
require($file_path);
}
- else if (!$found)
+ elseif ( ! $found)
{
set_status_header(503);
exit('The configuration file does not exist.');