issue 2034 add a file modified date to a file path of css.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11005 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-08-08 13:35:00 +00:00
parent 75a5398930
commit 2511d1c01e

View file

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