This commit is contained in:
2025-11-21 01:14:58 +01:00
parent 20a8d29f3f
commit d5c65ad5c0

View File

@@ -16,7 +16,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
// Erlaubte Typen & Sites // Erlaubte Typen & Sites
$allowedTypes = ['structure', 'landing']; $allowedTypes = ['structure', 'landing'];
$allowedSites = ['main', 'fakecheck']; $allowedSites = ['main', 'fakecheck','login'];
// Validierung // Validierung
if (!in_array($type, $allowedTypes)) { if (!in_array($type, $allowedTypes)) {