From cd16f98a83e88a228b5128fc1b72c887933ecf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=9C=F0=9D=93=AA=F0=9D=93=AC=F0=9D=93=AE=E2=84=A2?= <71522630+theoneandonlymace@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:30:16 +0200 Subject: [PATCH] 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. --- docs/README-STRUCTURE.md | 16 ++++++++-------- public/404.php | 2 +- public/500.php | 2 +- public/about.php | 2 +- public/agb.php | 2 +- public/contact.php | 2 +- public/datenschutz.php | 2 +- public/impressum.php | 2 +- public/index.php | 2 +- public/mail-gateway.php | 4 ++-- public/vpc.php | 4 ++-- public/vps.php | 4 ++-- public/webhosting.php | 4 ++-- public/widerruf.php | 2 +- 14 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/README-STRUCTURE.md b/docs/README-STRUCTURE.md index b3100d6..b3ad967 100644 --- a/docs/README-STRUCTURE.md +++ b/docs/README-STRUCTURE.md @@ -8,9 +8,9 @@ Die Website wurde umstrukturiert, um Header und Footer in zentralen Dateien zu s ### Zentrale Dateien -- `includes/header.php` - Enthält den HTML-Header mit Navigation -- `includes/footer.php` - Enthält den HTML-Footer mit Links und Copyright -- `includes/functions.php` - Helper-Funktionen für die Website +- `/includes/header.php` - Enthält den HTML-Header mit Navigation +- `/includes/footer.php` - Enthält den HTML-Footer mit Links und Copyright +- `/includes/functions.php` - Helper-Funktionen für die Website ### Konvertierte Seiten @@ -30,7 +30,7 @@ Die Website wurde umstrukturiert, um Header und Footer in zentralen Dateien zu s ```php
@@ -117,9 +117,9 @@ includeHeader('Seitentitel', 'Beschreibung', 'seitenname'); ## Dateien -- `includes/header.php` - Zentrale Header-Datei -- `includes/footer.php` - Zentrale Footer-Datei -- `includes/functions.php` - Helper-Funktionen +- `/includes/header.php` - Zentrale Header-Datei +- `/includes/footer.php` - Zentrale Footer-Datei +- `/includes/functions.php` - Helper-Funktionen - `index.php` - Startseite (PHP-Version) - `contact.php` - Kontaktseite (PHP-Version) - `vpc.php` - Virtual Private Container (PHP-Version) diff --git a/public/404.php b/public/404.php index 5092d2f..35987ae 100644 --- a/public/404.php +++ b/public/404.php @@ -1,5 +1,5 @@