From 99ad78dbe403c82f404a50144927bd4ca10b9e81 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Fri, 28 Nov 2025 02:32:29 +0100 Subject: [PATCH] folder correction --- public/auth/login.php | 2 +- public/auth/logout.php | 4 ++-- public/auth/register.php | 2 +- public/landingpage/dashboard/index.php | 2 +- public/landingpage/login/index.php | 2 +- public/landingpage/tools/debug/boost.php | 2 +- public/landingpage/tools/debug/lang.php | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/auth/login.php b/public/auth/login.php index bab0f9f..a646799 100644 --- a/public/auth/login.php +++ b/public/auth/login.php @@ -1,4 +1,4 @@ "; echo "Lang: " . htmlspecialchars($GLOBALS['lang']) . "\n"; diff --git a/public/landingpage/tools/debug/lang.php b/public/landingpage/tools/debug/lang.php index 49315be..1596f4f 100644 --- a/public/landingpage/tools/debug/lang.php +++ b/public/landingpage/tools/debug/lang.php @@ -8,7 +8,7 @@ echo "=== HTTP_ACCEPT_LANGUAGE ===\n"; echo ($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? "(nicht gesetzt)") . "\n\n"; // 2) fileload.php einbinden (macht Session + i18n + functions.php) -require_once dirname(__DIR__) . '/config/fileload.php'; +require_once $_SERVER['DOCUMENT_ROOT']. '/../config/fileload.php'; echo "=== Ergebnis aus fileload.php ===\n"; echo "Gewähltes \$lang: " . ($GLOBALS['lang'] ?? '(kein lang)') . "\n\n";