fehlerbehebung

This commit is contained in:
xoy 2023-02-27 09:11:24 +01:00
parent 44c89b61cd
commit eda284395c
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
<?php
$loader = new \Twig\Loader\FilesystemLoader('templates');
require_once './vendor/autoload.php';
$loader = new \Twig\Loader\FilesystemLoader('./templates/');
$twig = new \Twig\Environment($loader, [
'cache' => 'compilation_cache',
'cache' => './compilation_cache/',
]);
if (isset($_GET["page"]) && $_GET["page"] != "") {