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:
parent
25c5ccd2db
commit
cbc49e2a16
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user