diff --git a/src/functions.php b/src/functions.php index 193ea2e..5ff5008 100644 --- a/src/functions.php +++ b/src/functions.php @@ -34,11 +34,10 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v // structure -> structure/{file}.php $path = $base . "structure/$file.php"; } - echo "irgendwa"; // Datei laden if (file_exists($path)) { - include $path; + echo include $path; } else { echo "";