mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
IMPR: Use filemtime to refresh css/js
This commit is contained in:
parent
07d3704245
commit
83be0ce8ef
@ -249,7 +249,7 @@ class DeferredRequirements implements TemplateGlobalProvider
|
||||
);
|
||||
|
||||
$absolutePath = Director::getAbsFile($path);
|
||||
$hash = sha1_file($absolutePath);
|
||||
$hash = filemtime($absolutePath);
|
||||
|
||||
$version = $config['version'] ? '&v='.$config['version'] : '';
|
||||
//$static_domain = $config['static_domain'];
|
||||
|
Loading…
Reference in New Issue
Block a user