fehlerbehebung

This commit is contained in:
xoy 2023-02-27 09:11:24 +01:00
parent 6caa6b15b5
commit 7f96ac9b49
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"] != "") {