configs
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user