forked from leftypol/leftypol
Fixed spoiler images in the catalog theme.
This commit is contained in:
parent
40787db177
commit
14cd12ff2a
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue