mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
Merge branch 'master' of https://github.com/ctrlcctrlv/Tinyboard
This commit is contained in:
commit
6634b43572
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user