업데이트 된 js파일 브라우저 캐시 남지 않도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9968 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-12-20 12:54:50 +00:00
parent 9a8ed615d4
commit 0d4d9514ee

View file

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