This commit is contained in:
2025-11-21 01:56:02 +01:00
parent 1f77464e1f
commit 732733b9da
11 changed files with 195 additions and 11 deletions

View File

@@ -1,4 +1,7 @@
<?php
require __DIR__ . "/../config/fileload.php";
// public/fakecheck/index.php
// Sprachlogik wie auf der Startseite
@@ -19,8 +22,6 @@ $navAnchors = [];
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$host = $_SERVER['HTTP_HOST'] ?? 'usbcheck.it';
$baseUrl = $scheme . '://' . $host;
require __DIR__ . '/../../src/functions.php';
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';