aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-28 11:39:45 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-28 11:39:45 +0000
commitf26b9e42c0f56a75950283d47f3ab356399f6639 (patch)
tree5930744f42e821ff0eee91f528dedbdbd39eaafd /phpBB
parentc52f05b3329c9c79ecbc3184bd65cdbe4644ebcd (diff)
downloadforums-f26b9e42c0f56a75950283d47f3ab356399f6639.tar
forums-f26b9e42c0f56a75950283d47f3ab356399f6639.tar.gz
forums-f26b9e42c0f56a75950283d47f3ab356399f6639.tar.bz2
forums-f26b9e42c0f56a75950283d47f3ab356399f6639.tar.xz
forums-f26b9e42c0f56a75950283d47f3ab356399f6639.zip
Send service unavailable response code for E_USER_ERROR
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10061 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 17fb351630..d6ca262ab8 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3595,6 +3595,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
$db->sql_return_on_error(false);
}
+ // Do not send 200 OK, but service unavailable on errors
+ header('HTTP/1.1 503 Service Unavailable');
+
garbage_collection();
// Try to not call the adm page data...