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:
𝓜𝓪𝓬𝓮™
2026-04-02 13:30:16 +02:00
parent 30dba2f43d
commit cd16f98a83
14 changed files with 25 additions and 25 deletions

View File

@@ -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';

View File

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

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

@@ -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');

View File

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