remove filemtime from single js loads and load it global in the footerdata script by using the cache_buster

This commit is contained in:
HB9HIL
2026-02-13 16:58:57 +01:00
parent ba113ac8e5
commit 82cc0cf99d
27 changed files with 74 additions and 74 deletions

View File

@@ -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'
];