forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: post.php
This commit is contained in:
commit
fa66b96240
14 changed files with 200 additions and 14 deletions
7
post.php
7
post.php
|
@ -685,8 +685,13 @@ if (isset($_POST['delete'])) {
|
|||
_syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] .
|
||||
sprintf($config['file_page'], $post['op'] ? $id : $post['thread']) . (!$post['op'] ? '#' . $id : ''));
|
||||
|
||||
rebuildThemes('post');
|
||||
if (!$post['mod']) header('X-Associated-Content: "' . $redirect . '"');
|
||||
|
||||
if ($post['op'])
|
||||
rebuildThemes('post-thread', $board['uri']);
|
||||
else
|
||||
rebuildThemes('post', $board['uri']);
|
||||
|
||||
header('Location: ' . $redirect, true, $config['redirect_http']);
|
||||
} else {
|
||||
if (!file_exists($config['has_installed'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue