diff --git a/src/functions.php b/src/functions.php index 537aa9f..13cbbac 100644 --- a/src/functions.php +++ b/src/functions.php @@ -34,11 +34,12 @@ 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)) { echo include $path; - echo $path; + } else { echo ""; }