mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
Bug fix: HTML files for old pages were not being deleted
This commit is contained in:
parent
27ed4cccfb
commit
9726a710bc
@ -1139,7 +1139,7 @@
|
||||
}
|
||||
if($page < $config['max_pages']) {
|
||||
for(;$page<=$config['max_pages'];$page++) {
|
||||
$filename = $page==1 ? $config['file_index'] : sprintf($config['file_page'], $page);
|
||||
$filename = $board['dir'] . ($page==1 ? $config['file_index'] : sprintf($config['file_page'], $page));
|
||||
file_unlink($filename);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user