This commit is contained in:
2025-11-24 01:40:19 +01:00
parent 09ab7bad59
commit 71b0a4c72a
21 changed files with 118 additions and 34 deletions

View File

@@ -11,21 +11,20 @@ $lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
$userInitials = null;
// Seitentitel & Description (SEO)
$pageTitle = 'usbcheck.it Fake USB Check';
$pageTitle = app_primary_domain() . ' Fake USB Check';
$pageDescription = 'Fake USB-Sticks erkennen: Browser-basierter Schnelltest für Kapazität, Schreib-/Lesegeschwindigkeit und Datenintegrität ohne Installation.';
// Header-Navigation: auf dieser Seite KEINE Onepager-Anchors anzeigen
$navAnchors = [];
// Basis-URL für Reports etc. (staging/prod/dev/ismyusbfake-kompatibel)
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http';
$host = $_SERVER['HTTP_HOST'] ?? 'usbcheck.it';
$host = $_SERVER['HTTP_HOST'] ?? app_primary_domain();
$baseUrl = $scheme . '://' . $host;
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
// Basis-URL für Reports
$baseUrl = "https://usbcheck.it";
$baseUrl = app_primary_url();
if (function_exists('tpl_add_script')) {
tpl_add_script('/assets/js/fakecheck.js', 'footer', true, false, '', null);