|
@ -1242,7 +1242,7 @@ function mod_ban_post($board, $delete, $post, $token = false) { |
|
|
// Rebuild board |
|
|
// Rebuild board |
|
|
buildIndex(); |
|
|
buildIndex(); |
|
|
// Rebuild themes |
|
|
// Rebuild themes |
|
|
rebuildThemes('post-delete', $board['uri']); |
|
|
rebuildThemes('post-delete', $board); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
@ -1338,7 +1338,7 @@ function mod_delete($board, $post) { |
|
|
// Rebuild board |
|
|
// Rebuild board |
|
|
buildIndex(); |
|
|
buildIndex(); |
|
|
// Rebuild themes |
|
|
// Rebuild themes |
|
|
rebuildThemes('post-delete', $board['uri']); |
|
|
rebuildThemes('post-delete', $board); |
|
|
// Redirect |
|
|
// Redirect |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
} |
|
|
} |
|
@ -1360,7 +1360,7 @@ function mod_deletefile($board, $post) { |
|
|
// Rebuild board |
|
|
// Rebuild board |
|
|
buildIndex(); |
|
|
buildIndex(); |
|
|
// Rebuild themes |
|
|
// Rebuild themes |
|
|
rebuildThemes('post-delete', $board['uri']); |
|
|
rebuildThemes('post-delete', $board); |
|
|
|
|
|
|
|
|
// Redirect |
|
|
// Redirect |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
@ -1401,7 +1401,7 @@ function mod_spoiler_image($board, $post) { |
|
|
buildIndex(); |
|
|
buildIndex(); |
|
|
|
|
|
|
|
|
// Rebuild themes |
|
|
// Rebuild themes |
|
|
rebuildThemes('post-delete', $board['uri']); |
|
|
rebuildThemes('post-delete', $board); |
|
|
|
|
|
|
|
|
// Redirect |
|
|
// Redirect |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['file_index'], true, $config['redirect_http']); |
|
|