diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index 35e722170..909d5304e 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -247,7 +247,8 @@ } else { - $fullFilePath = $file->filePath . '/' . $file->fileName; + $noneCache = (is_readable($file->cdnPath.'/'.$file->fileName))?'?'.date('YmdHis', filemtime($file->cdnPath.'/'.$file->fileName)):''; + $fullFilePath = $file->filePath . '/' . $file->fileName.$noneCache; } $result[] = array('file' => $fullFilePath, 'media' => $file->media, 'targetie' => $file->targetIe); }