mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 06:08:42 +00:00
Update file inclusion paths in multiple PHP files: Adjusted paths to use the new backend directory structure, ensuring consistent access to functions and configuration files across the application.
This commit is contained in:
@@ -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
|
||||
- `/backend/includes/header.php` - Enthält den HTML-Header mit Navigation
|
||||
- `/backend/includes/footer.php` - Enthält den HTML-Footer mit Links und Copyright
|
||||
- `/backend/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
|
||||
<?php
|
||||
require_once __DIR__ . '/../../../includes/functions.php';
|
||||
require_once __DIR__ . '/../backend/includes/functions.php';
|
||||
|
||||
// Page configuration
|
||||
$page_title = 'Seitentitel - HexaHost.de';
|
||||
@@ -99,7 +99,7 @@ generateBreadcrumbs([
|
||||
### Nachher (PHP)
|
||||
```php
|
||||
<?php
|
||||
require_once __DIR__ . '/../../../includes/functions.php';
|
||||
require_once __DIR__ . '/../backend/includes/functions.php';
|
||||
includeHeader('Seitentitel', 'Beschreibung', 'seitenname');
|
||||
?>
|
||||
<main>
|
||||
@@ -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
|
||||
- `/backend/includes/header.php` - Zentrale Header-Datei
|
||||
- `/backend/includes/footer.php` - Zentrale Footer-Datei
|
||||
- `/backend/includes/functions.php` - Helper-Funktionen
|
||||
- `index.php` - Startseite (PHP-Version)
|
||||
- `contact.php` - Kontaktseite (PHP-Version)
|
||||
- `vpc.php` - Virtual Private Container (PHP-Version)
|
||||
|
||||
Reference in New Issue
Block a user