mirror of
https://git.hexahost.dev/smueller/HexaHost-Frontend.git
synced 2026-06-02 10:08:44 +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
|
||||
require_once __DIR__ . '/../../includes/functions.php';
|
||||
require_once __DIR__ . '/../../../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__ . '/../../../includes/functions.php';
|
||||
includeHeader('Seitentitel', 'Beschreibung', 'seitenname');
|
||||
?>
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user