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 @@ - + - - + +