diff options
| author | czaks <marcin@6irc.net> | 2013-08-18 19:26:51 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-08-18 19:26:51 -0400 |
| commit | 6634b43572db699a82545b5d367afc7894b13447 (patch) | |
| tree | c89ea56de6be9c76fd81929626b75af416d789f0 /inc | |
| parent | 5389b0f358abd9526cd40c91de393a4561bd627b (diff) | |
| parent | affad5594e62b830b76ba141a59c7042ca42494e (diff) | |
Merge branch 'master' of https://github.com/ctrlcctrlv/Tinyboard
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index 02668e40..7ca4386c 100644 --- a/inc/display.php +++ b/inc/display.php @@ -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, |
