Update file inclusion paths: Adjusted PHP include statements in multiple files to use absolute paths, ensuring consistency and preventing potential path issues across the application.

This commit is contained in:
𝓜𝓪𝓬𝓮™
2026-04-02 13:37:04 +02:00
parent cd16f98a83
commit 5325cc2e95
14 changed files with 19 additions and 19 deletions

View File

@@ -30,7 +30,7 @@ Die Website wurde umstrukturiert, um Header und Footer in zentralen Dateien zu s
```php ```php
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Seitentitel - HexaHost.de'; $page_title = 'Seitentitel - HexaHost.de';
@@ -99,7 +99,7 @@ generateBreadcrumbs([
### Nachher (PHP) ### Nachher (PHP)
```php ```php
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
includeHeader('Seitentitel', 'Beschreibung', 'seitenname'); includeHeader('Seitentitel', 'Beschreibung', 'seitenname');
?> ?>
<main> <main>

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = '404 - Seite nicht gefunden | HexaHost.de'; $page_title = '404 - Seite nicht gefunden | HexaHost.de';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = '500 - Serverfehler | HexaHost.de'; $page_title = '500 - Serverfehler | HexaHost.de';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Über uns - HexaHost.de | Hosting aus Niederbayern'; $page_title = 'Über uns - HexaHost.de | Hosting aus Niederbayern';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Allgemeine Geschäftsbedingungen - HexaHost.de | AGB'; $page_title = 'Allgemeine Geschäftsbedingungen - HexaHost.de | AGB';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Kontakt - HexaHost.de | Hosting aus Niederbayern'; $page_title = 'Kontakt - HexaHost.de | Hosting aus Niederbayern';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Datenschutzerklärung - HexaHost.de | Datenschutz'; $page_title = 'Datenschutzerklärung - HexaHost.de | Datenschutz';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Impressum - HexaHost.de | Rechtliche Angaben'; $page_title = 'Impressum - HexaHost.de | Rechtliche Angaben';

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'HexaHost.de - Zuverlässiges Hosting aus Niederbayern'; $page_title = 'HexaHost.de - Zuverlässiges Hosting aus Niederbayern';

View File

@@ -1,6 +1,6 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
require_once __DIR__ . '/../../config/products-config.php'; require_once __DIR__ . '/../../../config/products-config.php';
// Produkt-Daten aus Config laden // Produkt-Daten aus Config laden
$product = getProduct('mail-gateway'); $product = getProduct('mail-gateway');

View File

@@ -1,6 +1,6 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
require_once __DIR__ . '/../../config/products-config.php'; require_once __DIR__ . '/../../../config/products-config.php';
// Produkt-Daten aus Config laden // Produkt-Daten aus Config laden
$product = getProduct('vpc'); $product = getProduct('vpc');

View File

@@ -1,6 +1,6 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
require_once __DIR__ . '/../../config/products-config.php'; require_once __DIR__ . '/../../../config/products-config.php';
// Produkt-Daten aus Config laden // Produkt-Daten aus Config laden
$product = getProduct('vps'); $product = getProduct('vps');

View File

@@ -1,6 +1,6 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
require_once __DIR__ . '/../../config/products-config.php'; require_once __DIR__ . '/../../../config/products-config.php';
// Produkt-Daten aus Config laden // Produkt-Daten aus Config laden
$product = getProduct('webhosting'); $product = getProduct('webhosting');

View File

@@ -1,5 +1,5 @@
<?php <?php
require_once __DIR__ . '/../../includes/functions.php'; require_once __DIR__ . '/../../../includes/functions.php';
// Page configuration // Page configuration
$page_title = 'Widerrufsbelehrung - HexaHost.de'; $page_title = 'Widerrufsbelehrung - HexaHost.de';