1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-03-02 08:31:21 +01:00

Handle paperclip icon as OP image

This commit is contained in:
8chan 2015-05-05 22:43:39 -07:00
parent 25c5ccd2db
commit cbc49e2a16

View File

@ -82,7 +82,11 @@
$post['file'] = '/' . $config['spoiler_image'];
}
else {
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
if ($files[0]->thumb == 'file') {
$post['file'] = $config['root'] . sprintf($config['file_thumb'], 'file.png');
} else {
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
}
$post['fullimage'] = $config['uri_img'] . $files[0]->file;
}
}