From 969de0fa55fc2947a88d8c042ed6abdc2cd4ba96 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 10 Dec 2024 15:12:42 +0100 Subject: [PATCH] cache_buster in header --- application/views/interface_assets/header.php | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/application/views/interface_assets/header.php b/application/views/interface_assets/header.php index 4b5e0c6e5..2998124c0 100644 --- a/application/views/interface_assets/header.php +++ b/application/views/interface_assets/header.php @@ -8,51 +8,51 @@ - + - + - + optionslib->get_theme(); if ($theme) { ?> - - - - - - + + + + + + - + - + - - + + uri->segment(1) == "search" && $this->uri->segment(2) == "filter") { ?> - + uri->segment(1) == "notes" && ($this->uri->segment(2) == "add" || $this->uri->segment(2) == "edit")) { ?> - + - - + + uri->segment(1) == "sattimers") { ?> - + - '; - } ?> + + + - '; - } ?> + + '); ?>"> + - + <?php if (isset($page_title)) { echo $page_title; @@ -81,7 +81,7 @@ <body dir="<?php echo $language['direction']; ?>"> <nav class="navbar navbar-expand-lg navbar-light bg-light main-nav" id="header-menu"> <div class="container"> - <a class="navbar-brand" href="<?php echo site_url(); ?>"><img class="headerLogo" src="<?php echo base_url(); ?>assets/logo/<?php echo $this->optionslib->get_logo('header_logo'); ?>.png" alt="Logo" /></a> + <a class="navbar-brand" href="<?php echo site_url(); ?>"><img class="headerLogo" src="<?php echo $this->paths->cache_buster('assets/logo/'. $this->optionslib->get_logo('header_logo').'.png'); ?>" alt="Logo" /></a> <?php if (ENVIRONMENT == "development") { ?> <span class="badge text-bg-danger"><?= __("Developer Mode"); ?></span> <?php } ?>