This commit is contained in:
2025-11-20 22:15:42 +01:00
parent bb0c32640f
commit 3ed8e9c529
2 changed files with 5 additions and 4 deletions

View File

@@ -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');

View File

@@ -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 -->";
} }