diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 18:07:24 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-02 18:07:24 +1100 |
| commit | b2bd3303f96167bbc3812b01e386e3b1c5252eef (patch) | |
| tree | eac3cf8a1fbe9a32434071f6a5f23008c77a20db /post.php | |
| parent | c327056f13a8eabd22aae178a3ce1c962b5a044c (diff) | |
REDIRECT_HTTP directive
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -306,9 +306,9 @@ sql_close(); if(ALWAYS_NOKO || $noko) { - header('Location: ' . ROOT . $board['dir'] . DIR_RES . ($OP?$id:$post['thread']) . '.html' . (!$OP?'#'.$id:''), true, 302); + header('Location: ' . ROOT . $board['dir'] . DIR_RES . ($OP?$id:$post['thread']) . '.html' . (!$OP?'#'.$id:''), true, REDIRECT_HTTP); } else { - header('Location: ' . ROOT . $board['dir'] . FILE_INDEX, true, 302); + header('Location: ' . ROOT . $board['dir'] . FILE_INDEX, true, REDIRECT_HTTP); } exit; |
