fehlerbehebung
This commit is contained in:
parent
6caa6b15b5
commit
7f96ac9b49
|
@ -1,7 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
$loader = new \Twig\Loader\FilesystemLoader('templates');
|
require_once './vendor/autoload.php';
|
||||||
|
|
||||||
|
$loader = new \Twig\Loader\FilesystemLoader('./templates/');
|
||||||
$twig = new \Twig\Environment($loader, [
|
$twig = new \Twig\Environment($loader, [
|
||||||
'cache' => 'compilation_cache',
|
'cache' => './compilation_cache/',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (isset($_GET["page"]) && $_GET["page"] != "") {
|
if (isset($_GET["page"]) && $_GET["page"] != "") {
|
||||||
|
|
Loading…
Reference in New Issue