folder correction

This commit is contained in:
2025-11-28 02:32:29 +01:00
parent c3e191ade2
commit 99ad78dbe4
7 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
<?php
require_once dirname(__DIR__) . '/config/fileload.php';
require_once $_SERVER['DOCUMENT_ROOT']. '/../config/fileload.php';
echo "<pre>";
echo "Lang: " . htmlspecialchars($GLOBALS['lang']) . "\n";

View File

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