Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Edit to meet CI coding standards

  • Loading branch information...
commit 142eef9c0024420fdc1442eafe8e5cdd357451bb 1 parent 8991cb8
Thanasis Polychronakis authored committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 system/core/Common.php
6 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.');
Please sign in to comment.
Something went wrong with that request. Please try again.