summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-03-13 13:55:45 +0100
committerAndrey Andreev <narf@devilix.net>2014-03-13 13:55:45 +0100
commit7cf682abf46bcaa112b63c500a884ba25c0dd8b3 (patch)
treeec4283976055d986add2da7b0dad16c1e75dcba5 /index.php
parentd2e3a6fbf820b819bd7b2abc4794766f4c1d4e1a (diff)
Partially revert PR #2190
The core shouldn't depend on constants that are not defined by itself
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 6a932424e..80082111e 100755
--- a/index.php
+++ b/index.php
@@ -68,7 +68,7 @@ switch (ENVIRONMENT)
default:
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'The application environment is not set correctly.';
- exit(1); // EXIT_* constants not yet defined; 1 is EXIT_ERROR, a generic error.
+ exit(1); // EXIT_ERROR
}
/*
@@ -192,7 +192,7 @@ switch (ENVIRONMENT)
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: '.pathinfo(__FILE__, PATHINFO_BASENAME);
- exit(3); // EXIT_* constants not yet defined; 3 is EXIT_CONFIG.
+ exit(3); // EXIT_CONFIG
}
/*
@@ -228,7 +228,7 @@ switch (ENVIRONMENT)
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
- exit(3); // EXIT_* constants not yet defined; 3 is EXIT_CONFIG.
+ exit(3); // EXIT_CONFIG
}
define('APPPATH', BASEPATH.$application_folder.DIRECTORY_SEPARATOR);
@@ -245,7 +245,7 @@ switch (ENVIRONMENT)
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
- exit(3); // EXIT_* constants not yet defined; 3 is EXIT_CONFIG.
+ exit(3); // EXIT_CONFIG
}
else
{