forked from leftypol/leftypol
fixes path for image_deleted
This commit is contained in:
parent
93d0784a5e
commit
13efc37bdd
2 changed files with 4 additions and 4 deletions
|
@ -361,12 +361,12 @@
|
|||
}
|
||||
|
||||
if (empty($post['file']))
|
||||
$post['file'] = $config['image_deleted'];
|
||||
$post['file'] = $config['root'] . $config['image_deleted'];
|
||||
} else {
|
||||
$post['file'] = $config['image_deleted'];
|
||||
$post['file'] = $config['root'] . $config['image_deleted'];
|
||||
}
|
||||
} else if($files[0]->thumb == 'spoiler') {
|
||||
$post['file'] = '/' . $config['spoiler_image'];
|
||||
$post['file'] = $config['root'] . $config['spoiler_image'];
|
||||
} else {
|
||||
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue