Multi-language support

This commit is contained in:
bergware
2020-06-03 10:06:30 +02:00
parent 827d3a68e0
commit bae1fc1bcc
6 changed files with 37 additions and 31 deletions
@@ -12,6 +12,10 @@
?>
<?
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
// add translations
$_SERVER['REQUEST_URI'] = '';
require_once "$docroot/webGui/include/Translations.php";
require_once "$docroot/webGui/include/Helpers.php";
extract(parse_plugin_cfg('dynamix',true));