Merge branch 'catalog-spoiler-fix' of https://github.com/marlencrabapple/vichan
This commit is contained in:
commit
ea3c571d6c
@ -65,6 +65,9 @@
|
|||||||
$post['file'] = $config['image_deleted'];
|
$post['file'] = $config['image_deleted'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if($files[0]->thumb == 'spoiler') {
|
||||||
|
$post['file'] = '/' . $config['spoiler_image'];
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user