Fixed default thumbnail retrieval
This commit is contained in:
parent
320cd2e194
commit
e32e569296
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class GetPostThumbnailJob extends AbstractJob
|
||||||
|
|
||||||
if (!file_exists($path) or !is_readable($path))
|
if (!file_exists($path) or !is_readable($path))
|
||||||
{
|
{
|
||||||
$path = Core::getConfig()->main->mediaPath . DS . 'img' . DS . 'thumbnail.jpg';
|
$path = Core::getConfig()->main->mediaPath . DS . 'img' . DS . 'thumb.jpg';
|
||||||
$path = TextHelper::absolutePath($path);
|
$path = TextHelper::absolutePath($path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue