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.
18 lines
482 B
18 lines
482 B
<?php |
|
|
|
require_once __DIR__ . '/../vendor/autoload.php'; |
|
require_once __DIR__ . '/../config.php'; |
|
|
|
use PhpMyAdmin\Twig\Extensions\I18nExtension; |
|
|
|
/* Initialize Twig engine */ |
|
$loader = new \Twig\Loader\FilesystemLoader($twigTplDir); |
|
$twig = new \Twig\Environment($loader, $twigConfig); |
|
|
|
/* Enabling and configuring i18n extension */ |
|
$twig->addExtension(new I18nExtension()); |
|
|
|
bindtextdomain('regi2p', $twigMsgDir); |
|
bind_textdomain_codeset('regi2p', 'UTF-8'); |
|
|
|
textdomain('regi2p');
|
|
|