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:
Marcin Kurczewski 2013-10-22 23:57:42 +02:00
parent d135f84bf2
commit 872780397d

View file

@ -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))