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

@@ -46,9 +46,9 @@ class Gridmap extends CI_Controller {
'assets/js/leaflet/geocoding.js',
'assets/js/sections/gridmap.js?',
'assets/js/leaflet/L.MaidenheadColouredGridMap.js',
'assets/js/sections/itumap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/itumap_geojson.js")),
'assets/js/sections/cqmap_geojson.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/sections/cqmap_geojson.js")),
'assets/js/bootstrap-multiselect.js?' . filemtime(realpath(__DIR__ . "/../../assets/js/bootstrap-multiselect.js")),
'assets/js/sections/itumap_geojson.js',
'assets/js/sections/cqmap_geojson.js',
'assets/js/bootstrap-multiselect.js',
];
$this->load->view('interface_assets/header', $data);