forked from leftypol/leftypol
Fix compatibility with php<5.4, sorry anachronos ;_;
This commit is contained in:
parent
a0d0d22a64
commit
affad5594e
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function error($message, $priority = true, $debug_stuff = false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the bad request header, necessary for AJAX posts
|
// 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(
|
die(Element('page.html', array(
|
||||||
'config' => $config,
|
'config' => $config,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue