This commit is contained in:
2025-11-25 22:48:51 +01:00
parent f8230f5dde
commit 5ce2a893c9
4 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?php <?php
$pageKey = 'landing'; $pageKey = 'landing';
require_once __DIR__ . '/../config/fileload.php'; require_once dirname(__DIR__) . '/config/fileload.php';
// Sprachlogik: // Sprachlogik:
@@ -31,6 +31,3 @@ tpl('security', 'landing', 'main');
tpl('faq', 'landing', 'main'); tpl('faq', 'landing', 'main');
tpl('layout_end'); // structure/footer.php tpl('layout_end'); // structure/footer.php
echo __DIR__ ;
echo dirname(__DIR__) ;

View File

@@ -1,7 +1,8 @@
<?php <?php
// public/dashboard/index.php // public/dashboard/index.php
$pageKey = 'dashboard'; $pageKey = 'dashboard';
require_once __DIR__ . '/../../../config/fileload.php'; require_once dirname(__DIR__) . '/config/fileload.php';
// Sprachlogik // Sprachlogik
$lang = $_GET['lang'] ?? 'de'; $lang = $_GET['lang'] ?? 'de';

View File

@@ -1,6 +1,7 @@
<?php <?php
$pageKey = 'fakecheck'; $pageKey = 'fakecheck';
require_once __DIR__ . '/../../../config/fileload.php'; require_once dirname(__DIR__) . '/config/fileload.php';
// public/fakecheck/index.php // public/fakecheck/index.php

View File

@@ -27,3 +27,6 @@ tpl('login', 'landing', 'login');
tpl('layout_end', 'structure'); tpl('layout_end', 'structure');
echo __DIR__;
echo "<br>";
echo dirname(__DIR__);