mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
missed one line
This commit is contained in:
parent
8b698e36e7
commit
4a4c985235
@ -1586,7 +1586,7 @@ function mod_spoiler_image($board, $post, $file) {
|
||||
$files = json_decode($result['files']);
|
||||
|
||||
$size_spoiler_image = @getimagesize($config['spoiler_image']);
|
||||
file_unlink($board . '/' . $config['dir']['thumb'] . $files[$file]->thumb);
|
||||
file_unlink($config['dir']['img_root'] . $board . '/' . $config['dir']['thumb'] . $files[$file]->thumb);
|
||||
$files[$file]->thumb = 'spoiler';
|
||||
$files[$file]->thumbwidth = $size_spoiler[0];
|
||||
$files[$file]->thumbheight = $size_spoiler_image[1];
|
||||
|
Loading…
x
Reference in New Issue
Block a user