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

Merge branch 'catalog-spoiler-fix' of https://github.com/marlencrabapple/vichan

This commit is contained in:
czaks 2014-09-20 06:44:03 +02:00
commit c16b8e45db

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;
}