as
This commit is contained in:
@@ -34,11 +34,10 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
|
||||
// structure -> structure/{file}.php
|
||||
$path = $base . "structure/$file.php";
|
||||
}
|
||||
echo "irgendwa";
|
||||
|
||||
// Datei laden
|
||||
if (file_exists($path)) {
|
||||
include $path;
|
||||
echo include $path;
|
||||
|
||||
} else {
|
||||
echo "<!-- tpl(): Datei nicht gefunden: $path -->";
|
||||
|
||||
Reference in New Issue
Block a user