fehlerbehebung
This commit is contained in:
parent
44c89b61cd
commit
eda284395c
|
@ -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