1
0
mirror of https://github.com/PurpleI2P/regi2p.git synced 2025-01-15 09:49:56 +00:00
regi2p/views/404.php
r4sas 80bb08fbd2
reg.i2p files
Signed-off-by: r4sas <r4sas@i2pmail.org>
2021-02-21 17:02:38 +00:00

16 lines
375 B
PHP

<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../config.php';
/* Initialize Twig engine */
$loader = new \Twig\Loader\FilesystemLoader(__DIR__ . '/../templates');
$twig = new \Twig\Environment($loader, [
'cache' => __DIR__ . '/../cache',
'auto_reload' => true,
]);
$template = $twig->load('404.twig');
echo $template->render();