sd
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user