los
This commit is contained in:
@@ -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 -->";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user