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:
@@ -15,7 +15,7 @@ class Hamsat extends CI_Controller {
|
||||
|
||||
public function index() {
|
||||
$data['scripts'] = [
|
||||
'assets/js/sections/hamsat.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/hamsat.js")),
|
||||
'assets/js/sections/hamsat.js',
|
||||
'assets/js/moment.min.js',
|
||||
'assets/js/datetime-moment.js'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user