mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +01:00
Added a post-delete action for themes
This would be really useful for themes that focus on posts
This commit is contained in:
parent
cdeccbb9ba
commit
09388f6588
3
post.php
3
post.php
@ -75,6 +75,9 @@ if (isset($_POST['delete'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildIndex();
|
buildIndex();
|
||||||
|
|
||||||
|
|
||||||
|
rebuildThemes('post-delete', $board['uri']);
|
||||||
|
|
||||||
$is_mod = isset($_POST['mod']) && $_POST['mod'];
|
$is_mod = isset($_POST['mod']) && $_POST['mod'];
|
||||||
$root = $is_mod ? $config['root'] . $config['file_mod'] . '?/' : $config['root'];
|
$root = $is_mod ? $config['root'] . $config['file_mod'] . '?/' : $config['root'];
|
||||||
|
Loading…
Reference in New Issue
Block a user