diff --git a/classes/frontendfile/FrontEndFileHandler.class.php b/classes/frontendfile/FrontEndFileHandler.class.php index b54c8d4b4..90a3ebce4 100644 --- a/classes/frontendfile/FrontEndFileHandler.class.php +++ b/classes/frontendfile/FrontEndFileHandler.class.php @@ -206,7 +206,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, 'targetie' => $file->targetIe); }