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

@@ -4,6 +4,28 @@ $GLOBALS['page_header_scripts'] = $GLOBALS['page_header_scripts'] ?? [];
$GLOBALS['page_footer_scripts'] = $GLOBALS['page_footer_scripts'] ?? [];
$GLOBALS['page_styles'] = $GLOBALS['page_styles'] ?? [];
function app_primary_domain(): string
{
return defined('APP_DOMAIN_PRIMARY') ? APP_DOMAIN_PRIMARY : 'usbcheck.it';
}
function app_primary_url(): string
{
$url = defined('APP_URL_PRIMARY') ? APP_URL_PRIMARY : 'https://usbcheck.it';
return rtrim($url, '/');
}
function app_fakecheck_domain(): string
{
return defined('APP_DOMAIN_FAKECHECK') ? APP_DOMAIN_FAKECHECK : 'ismyusbfake.com';
}
function app_fakecheck_url(): string
{
$url = defined('APP_URL_FAKECHECK') ? APP_URL_FAKECHECK : 'https://ismyusbfake.com';
return rtrim($url, '/');
}
/**
* Script registrieren
*