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";