summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-12 22:38:46 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-12 22:38:46 +0100
commit432b13f8e168006eac9d551c0ac463dadd3ef803 (patch)
tree6635eda43e986e11bcf11a7d04df6ec3db81912d /index.php
parent2e430a3f3b160641c36037fbaf92457e0b3bb51e (diff)
parentde7da338e21885b9ecc4f5a64ba77ee8475960d2 (diff)
Merge remote-tracking branch 'upstream/develop' into develop-db-cubrid
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);
}