diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-08 22:35:25 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-08 22:35:25 +0100 |
commit | d377082bab6685fac221a0e6add22b6ab5d5bcc2 (patch) | |
tree | f6a2b5b5c8fd65d4958ca08010e2a4927028a5f1 /system/core/Common.php | |
parent | c68905a85983a5bd1e85f778c5c0df2f680425d5 (diff) | |
parent | 0209c70195384308f06a6c0fc42693c1c649cf46 (diff) |
Merge upstream branch
Diffstat (limited to 'system/core/Common.php')
-rw-r--r-- | system/core/Common.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 2f9c4ff43..225227d17 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -177,6 +177,7 @@ if ( ! function_exists('load_class')) { // Note: We use exit() rather then show_error() in order to avoid a // self-referencing loop with the Excptions class + set_status_header(503); exit('Unable to locate the specified class: '.$class.'.php'); } @@ -243,6 +244,7 @@ if ( ! function_exists('get_config')) // Fetch the config file if ( ! file_exists($file_path)) { + set_status_header(503); exit('The configuration file does not exist.'); } @@ -251,6 +253,7 @@ if ( ! function_exists('get_config')) // Does the $config array exist in the file? if ( ! isset($config) OR ! is_array($config)) { + set_status_header(503); exit('Your config file does not appear to be formatted correctly.'); } |