summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorThanasis Polychronakis <babbos@gmail.com>2012-05-21 13:38:22 +0200
committerThanasis Polychronakis <babbos@gmail.com>2012-05-21 13:38:22 +0200
commitccbd827076b83a7ff903fb8264192d2beea1260e (patch)
treeee373fcab1c4cb2352f5a983b432a5458919cb06 /system/core/Common.php
parentf1aff707128865741a70d732283c0702183c52b3 (diff)
Edit to meet CI coding standards
Diffstat (limited to 'system/core/Common.php')
-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 eb080aa2b..15082a101 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.');