Fixed thumbnail cache
Custom thumbnails were loaded only after hard ctrl+f5. Now they should be loaded with f5 alone.
This commit is contained in:
parent
d135f84bf2
commit
872780397d
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ class PostController
|
|||
|
||||
$this->context->transport->cacheDaysToLive = 30;
|
||||
$this->context->transport->mimeType = 'image/png';
|
||||
$this->context->transport->fileHash = 'thumb' . $post->file_hash;
|
||||
$this->context->transport->fileHash = 'thumb' . md5($post->file_hash . filemtime($path));
|
||||
$this->context->transport->filePath = $path;
|
||||
|
||||
if (isset($tmpPath))
|
||||
|
|
Loading…
Reference in a new issue