REDIRECT_HTTP directive

This commit is contained in:
Savetheinternet committed 2010-12-02 18:07:24 +11:00
1 parent c327056f13
commit b2bd3303f9
7 files changed
+12 -6

No files matched your search

+2 -2
View File
@@ -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;