Bug fix: HTML files for old pages were not being deleted
This commit is contained in:
parent
eabed0199b
commit
79cc1c5238
@ -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…
Reference in New Issue
Block a user