This commit is contained in:
2025-11-20 22:16:47 +01:00
parent 3ed8e9c529
commit c7fbf8f87d

View File

@@ -34,11 +34,12 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
// structure -> structure/{file}.php // structure -> structure/{file}.php
$path = $base . "structure/$file.php"; $path = $base . "structure/$file.php";
} }
echo "irgendwa"
// Datei laden // Datei laden
if (file_exists($path)) { if (file_exists($path)) {
echo include $path; echo include $path;
echo $path;
} else { } else {
echo "<!-- tpl(): Datei nicht gefunden: $path -->"; echo "<!-- tpl(): Datei nicht gefunden: $path -->";
} }