mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
remove filemtime from single js loads and load it global in the footerdata script by using the cache_buster
This commit is contained in:
@@ -27,7 +27,7 @@ class SimpleFLE extends CI_Controller {
|
||||
$footerData['scripts'] = [
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js',
|
||||
'assets/js/sections/simplefle.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/simplefle.js"))
|
||||
'assets/js/sections/simplefle.js'
|
||||
];
|
||||
|
||||
$this->load->view('interface_assets/header', $data);
|
||||
|
||||
Reference in New Issue
Block a user