From 3ed8e9c529c7ab002abd62527a20db3a1eb434ae Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Thu, 20 Nov 2025 22:15:42 +0100 Subject: [PATCH] los --- public/index.php | 8 ++++---- src/functions.php | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/public/index.php b/public/index.php index 70b6225..e397bed 100644 --- a/public/index.php +++ b/public/index.php @@ -23,10 +23,10 @@ tpl('layout_start'); // structure/header.php tpl('hero', 'landing', 'main'); tpl('how', 'landing', 'main'); - tpl('problem', 'landing', 'main'); - tpl('features', 'landing', 'main'); - tpl('security', 'landing', 'main'); - tpl('faq', 'landing', 'main'); +tpl('problem', 'landing', 'main'); echo "ende"; +tpl('features', 'landing', 'main'); +tpl('security', 'landing', 'main'); +tpl('faq', 'landing', 'main'); tpl('layout_end'); // structure/footer.php diff --git a/src/functions.php b/src/functions.php index 9664f40..537aa9f 100644 --- a/src/functions.php +++ b/src/functions.php @@ -38,6 +38,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v // Datei laden if (file_exists($path)) { echo include $path; + echo $path; } else { echo ""; }