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

@@ -32,7 +32,7 @@ class Stationsetup extends CI_Controller {
$footerData['scripts'] = [
'assets/js/moment.min.js',
'assets/js/datetime-moment.js',
'assets/js/sections/stationsetup.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/stationsetup.js")),
'assets/js/sections/stationsetup.js',
];
// Get Date format