Regenerate themes after editing a post
This commit is contained in:
parent
08bb2894bc
commit
00a1841cbc
@ -1307,6 +1307,8 @@ function mod_edit_post($board, $edit_raw_html, $postID) {
|
|||||||
|
|
||||||
buildIndex();
|
buildIndex();
|
||||||
|
|
||||||
|
rebuildThemes('post', $board['uri']);
|
||||||
|
|
||||||
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['dir']['res'] . sprintf($config['file_page'], $post['thread'] ? $post['thread'] : $postID) . '#' . $postID, true, $config['redirect_http']);
|
header('Location: ?/' . sprintf($config['board_path'], $board) . $config['dir']['res'] . sprintf($config['file_page'], $post['thread'] ? $post['thread'] : $postID) . '#' . $postID, true, $config['redirect_http']);
|
||||||
} else {
|
} else {
|
||||||
if ($config['minify_html']) {
|
if ($config['minify_html']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user