los
This commit is contained in:
@@ -23,7 +23,7 @@ tpl('layout_start'); // structure/header.php
|
|||||||
|
|
||||||
tpl('hero', 'landing', 'main');
|
tpl('hero', 'landing', 'main');
|
||||||
tpl('how', 'landing', 'main');
|
tpl('how', 'landing', 'main');
|
||||||
tpl('problem', 'landing', 'main');
|
tpl('problem', 'landing', 'main'); echo "ende";
|
||||||
tpl('features', 'landing', 'main');
|
tpl('features', 'landing', 'main');
|
||||||
tpl('security', 'landing', 'main');
|
tpl('security', 'landing', 'main');
|
||||||
tpl('faq', 'landing', 'main');
|
tpl('faq', 'landing', 'main');
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
|
|||||||
// 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