mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 07:18:42 +00:00
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:
@@ -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>
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user