add timestamp on all css/js files
This commit is contained in:
1 parent
85bd290d22
commit
e138f2ca41
4 files changed
+15
-12
No files matched your search
+1
-3
@@ -91,9 +91,7 @@ class Project extends PhpObject {
|
||||
case 1: $asProject['mode'] = self::MODE_BLOG; break;
|
||||
case 2: $asProject['mode'] = self::MODE_HISTO; break;
|
||||
}
|
||||
|
||||
$sGeoFilePath = self::GEO_FOLDER.$asProject['geofile'];
|
||||
$asProject['geofile'] = file_exists($sGeoFilePath)?$asProject['geofile'].'?'.date("YmdHis", filemtime($sGeoFilePath)):$asProject['geofile'];
|
||||
$asProject['geofile'] = Spot::addTimestampToFilePath(self::GEO_FOLDER.$asProject['geofile']);
|
||||
}
|
||||
return $asProjects;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user