From f1aa3765832b9adfdde774777b32f02018817dd5 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Thu, 27 Nov 2025 01:17:45 +0100 Subject: [PATCH] debug --- public/landingpage/tools/debug/lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/landingpage/tools/debug/lang.php b/public/landingpage/tools/debug/lang.php index 91d130f..49315be 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 __DIR__ . '/../config/fileload.php'; +require_once dirname(__DIR__) . '/config/fileload.php'; echo "=== Ergebnis aus fileload.php ===\n"; echo "Gewähltes \$lang: " . ($GLOBALS['lang'] ?? '(kein lang)') . "\n\n";