mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
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
This commit is contained in:
parent
c52f05b332
commit
f26b9e42c0
1 changed files with 3 additions and 0 deletions
|
@ -3595,6 +3595,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||||
$db->sql_return_on_error(false);
|
$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();
|
garbage_collection();
|
||||||
|
|
||||||
// Try to not call the adm page data...
|
// Try to not call the adm page data...
|
||||||
|
|
Loading…
Add table
Reference in a new issue