1
0
mirror of https://github.com/PurpleI2P/regi2p.git synced 2025-01-15 09:49:56 +00:00
regi2p/views/404.php
r4sas 3c0385afad
add hidden mode (using '?all' in url)
Signed-off-by: r4sas <r4sas@i2pmail.org>
2021-09-13 17:21:23 +00:00

15 lines
374 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();