Indended code to meet CI standards
diff --git a/system/core/Common.php b/system/core/Common.php
index f468747..8ed18cd 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -233,7 +233,8 @@
$file_path = APPPATH.'config/config.php';
$found = false;
- if (file_exists($file_path)) {
+ if (file_exists($file_path))
+ {
$found = true;
require($file_path);
}
@@ -242,7 +243,10 @@
if (defined(ENVIRONMENT) && file_exists($file_path = APPPATH.'config/'.ENVIRONMENT.'/config.php'))
{
require($file_path);
- } else if (!$found) {
+ }
+ else if (!$found)
+ {
+ set_status_header(503);
exit('The configuration file does not exist.');
}