1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

Fixed spoiler images in the catalog theme.

This commit is contained in:
marlencrabapple 2014-09-17 16:15:18 -07:00
parent 40787db177
commit 14cd12ff2a

View File

@ -65,6 +65,9 @@
$post['file'] = $config['image_deleted'];
}
}
else if($files[0]->thumb == 'spoiler') {
$post['file'] = '/' . $config['spoiler_image'];
}
else {
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
}