wip: [try to get the htaccess file to work safely... Egh
This commit is contained in:
parent
d2294d8572
commit
c3ed56cb99
4 changed files with 9 additions and 5 deletions
11
www/index.php
Normal file
11
www/index.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
$loader = new \Twig\Loader\FilesystemLoader('../templates');
|
||||
$twig = new \Twig\Environment($loader);
|
||||
|
||||
echo $twig->render('index.html',[
|
||||
"a_variable" => "is very spicy. In a good way."
|
||||
]);
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue