mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
typo
This commit is contained in:
parent
0e89d39e67
commit
4562457de7
@ -47,10 +47,10 @@ foreach ($boards as $board) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($stray_src as $thumb) {
|
foreach ($stray_thumb as $thumb) {
|
||||||
$stats['deleted']++;
|
$stats['deleted']++;
|
||||||
$stats['size'] = filesize($board['dir'] . $config['dir']['thumb'] . $thumb);
|
$stats['size'] = filesize($board['dir'] . $config['dir']['thumb'] . $thumb);
|
||||||
if (!file_unlink($board['dir'] . $config['dir']['thumb'] . $src)) {
|
if (!file_unlink($board['dir'] . $config['dir']['thumb'] . $thumb)) {
|
||||||
$er = error_get_last();
|
$er = error_get_last();
|
||||||
die("error: " . $er['message'] . "\n");
|
die("error: " . $er['message'] . "\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user