1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00
This commit is contained in:
czaks 2013-08-18 19:26:51 -04:00
commit 6634b43572

View File

@ -86,7 +86,7 @@ function error($message, $priority = true, $debug_stuff = false) {
}
// Return the bad request header, necessary for AJAX posts
http_response_code(400);
header($_SERVER['SERVER_PROTOCOL'] . ' 400 Bad Request');
die(Element('page.html', array(
'config' => $config,