Permalink
Browse files

Edit to meet CI coding standards

  • Loading branch information...
1 parent f1aff70 commit ccbd827076b83a7ff903fb8264192d2beea1260e @thanpolas committed May 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 system/core/Common.php
View
@@ -232,10 +232,10 @@ function &get_config($replace = array())
}
$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 @@ function &get_config($replace = array())
{
require($file_path);
}
- else if (!$found)
+ elseif ( ! $found)
{
set_status_header(503);
exit('The configuration file does not exist.');

0 comments on commit ccbd827

Please sign in to comment.