Browse Source

Redirect after deleting

pull/40/head
Savetheinternet 14 years ago
parent
commit
9554c7ecb2
  1. 3
      mod.php

3
mod.php

@ -192,9 +192,10 @@
// Delete post
deletePost($post);
// Rebuild board
buildIndex();
// Redirect to board
header('Location: ?/' . sprintf(BOARD_PATH, $boardName) . FILE_INDEX, true, REDIRECT_HTTP);
} else {
error("Page not found.");
}

Loading…
Cancel
Save