From 52d578ad47b4b129560c77891a3a4a8025770e29 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Thu, 20 Nov 2025 22:54:39 +0100 Subject: [PATCH] sdsd --- src/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index f7cb601..070ad6e 100644 --- a/src/functions.php +++ b/src/functions.php @@ -8,8 +8,11 @@ * tpl('faq', 'landing', 'fakecheck'); // landing/fakecheck/faq.php */ + echo "\n"; + function tpl(string $file, string $type = 'structure', string $site = 'main'): void { + // Basisordner $base = __DIR__ . '/../partials/'; @@ -34,11 +37,12 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v // structure -> structure/{file}.php $path = $base . "structure/$file.php"; } - + echo "\n"; // Datei laden if (file_exists($path)) { include $path; } else { echo ""; } + }