From a7647f3c9be463a645c63d6ebe022389c6227e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=9C=F0=9D=93=AA=F0=9D=93=AC=F0=9D=93=AE=E2=84=A2?= <71522630+theoneandonlymace@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:34:36 +0200 Subject: [PATCH] refactor: Update asset paths in header and footer for consistency and improved resource loading --- includes/footer.php | 4 ++-- includes/functions.php | 4 ++-- includes/header.php | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/footer.php b/includes/footer.php index 427d84e..8ba0a83 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -121,8 +121,8 @@ - - + + diff --git a/includes/functions.php b/includes/functions.php index 912433d..24d736c 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -52,14 +52,14 @@ function includeHeader($title = '', $description = '', $page = '', $scripts = [] $current_page = $page; $additional_scripts = $scripts; - include 'includes/header.php'; + include __DIR__ . '/header.php'; } /** * Include footer */ function includeFooter() { - include 'includes/footer.php'; + include __DIR__ . '/footer.php'; } /** diff --git a/includes/header.php b/includes/header.php index d2b4780..3686703 100644 --- a/includes/header.php +++ b/includes/header.php @@ -13,7 +13,7 @@ - + <?php echo isset($page_title) ? htmlspecialchars($page_title) : 'HexaHost.de - Zuverlässiges Hosting aus Niederbayern'; ?> @@ -32,14 +32,14 @@ - + - - + +