mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 05:08:43 +00:00
Refactor file inclusions: Updated paths in multiple PHP files to use absolute paths for including functions and configuration files, enhancing consistency and preventing potential path issues.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = '404 - Seite nicht gefunden | HexaHost.de';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = '500 - Serverfehler | HexaHost.de';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Über uns - HexaHost.de | Hosting aus Niederbayern';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Allgemeine Geschäftsbedingungen - HexaHost.de | AGB';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Kontakt - HexaHost.de | Hosting aus Niederbayern';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Datenschutzerklärung - HexaHost.de | Datenschutz';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Impressum - HexaHost.de | Rechtliche Angaben';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'HexaHost.de - Zuverlässiges Hosting aus Niederbayern';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once 'config/products-config.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
require_once __DIR__ . '/../../config/products-config.php';
|
||||
|
||||
// Produkt-Daten aus Config laden
|
||||
$product = getProduct('mail-gateway');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once 'config/products-config.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
require_once __DIR__ . '/../../config/products-config.php';
|
||||
|
||||
// Produkt-Daten aus Config laden
|
||||
$product = getProduct('vpc');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once 'config/products-config.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
require_once __DIR__ . '/../../config/products-config.php';
|
||||
|
||||
// Produkt-Daten aus Config laden
|
||||
$product = getProduct('vps');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once 'config/products-config.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
require_once __DIR__ . '/../../config/products-config.php';
|
||||
|
||||
// Produkt-Daten aus Config laden
|
||||
$product = getProduct('webhosting');
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'includes/functions.php';
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Widerrufsbelehrung - HexaHost.de';
|
||||
|
||||
Reference in New Issue
Block a user