aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-08 19:00:24 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-02-08 19:00:24 +0000
commitca5ca1d1c9630b5d54767e1691091a8061a326eb (patch)
tree2e5d5d72adecb80dcd324bad6a36c516fcaaafe7 /src
parentd7e5050eff46e3f229f6f0409cf14e7af87e9f45 (diff)
downloadsemanticscuttle-ca5ca1d1c9630b5d54767e1691091a8061a326eb.tar.gz
semanticscuttle-ca5ca1d1c9630b5d54767e1691091a8061a326eb.tar.bz2
Send HTTP status code 500 when site has not been configured yet.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@646 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src')
-rw-r--r--src/SemanticScuttle/header.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php
index adc68ce..12c1f72 100644
--- a/src/SemanticScuttle/header.php
+++ b/src/SemanticScuttle/header.php
@@ -15,6 +15,7 @@
* @link http://sourceforge.net/projects/semanticscuttle
*/
if (!file_exists(dirname(__FILE__) .'/../../data/config.php')) {
+ header('HTTP/1.0 500 Internal Server Error');
die('Please copy "config.php.dist" to "config.php" in data/ folder.');
}
set_include_path(