$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'; require_once "$docroot/webGui/include/Wrappers.php"; $var = parse_ini_file('state/var.ini'); $webgui = parse_plugin_cfg('dynamix',true); $keyfile = base64_encode(file_get_contents($var['regFILE'])); ?>