mirror of https://github.com/PurpleI2P/regi2p.git
Domain registry project
http://reg.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
375 B
16 lines
375 B
4 years ago
|
<?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();
|
||
|
|