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

@@ -321,9 +321,9 @@ class Statistics extends CI_Controller {
$footerData = [];
$footerData['scripts'] = [
'assets/js/chart.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/chart.js")),
'assets/js/sections/antennastats.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/antennastats.js")),
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
'assets/js/chart.js',
'assets/js/sections/antennastats.js',
'assets/js/bootstrap-multiselect.js',
];
// Load Views
@@ -389,7 +389,7 @@ class Statistics extends CI_Controller {
$footerData = [];
$footerData['scripts'] = [
'assets/js/sections/initials.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/initials.js")),
'assets/js/sections/initials.js',
];
// Load Views