summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-08 22:31:17 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-08 22:31:17 +0100
commit81fe6bf6933d44c991ce736a5b33efebdfcb39d7 (patch)
tree4d622397bbb0be7387e1ec3e1e49c6d0457707b4 /index.php
parent33b27d090dc473b0a99ab6a6b715e37e7cbb43a0 (diff)
parent0209c70195384308f06a6c0fc42693c1c649cf46 (diff)
Merge remote-tracking branch 'upstream/develop' into develop-db-sqlite3
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 1712a7d66..a37826690 100644
--- a/index.php
+++ b/index.php
@@ -218,6 +218,7 @@ if (defined('ENVIRONMENT'))
{
if ( ! is_dir(BASEPATH.$application_folder.'/'))
{
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, '503');
exit('Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF);
}
@@ -233,6 +234,7 @@ if (defined('ENVIRONMENT'))
{
if ( ! is_dir(APPPATH.'views/'))
{
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, '503');
exit('Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF);
}