This commit is contained in:
2025-11-25 22:43:43 +01:00
parent 61654fb966
commit f8230f5dde
4 changed files with 9 additions and 5 deletions

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
<?php
$pageKey = 'login';
include_once dirname(__DIR__) . "/../config/fileload.php";
require_once __DIR__ . '/../../../config/fileload.php';
tpl_add_script('/assets/js/auth.js', 'footer', true, false, '', 'auth-1');
// Sprachlogik:
@@ -26,3 +26,4 @@ tpl('layout_start', 'structure');
tpl('login', 'landing', 'login');
tpl('layout_end', 'structure');