$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)); $var = parse_ini_file('state/var.ini'); $unraid = parse_ini_file('/etc/unraid-version'); $keyfile = trim(base64_encode(@file_get_contents($var['regFILE']))); if (array_key_exists('getdiagnostics', $_GET)) { $anonymize = empty($_GET['anonymize']) ? '-a' : ''; $diag_file = '/tmp/feedback_diagnostics_'.time().'.zip'; exec("$docroot/plugins/dynamix/scripts/diagnostics $anonymize $diag_file"); echo base64_encode(@file_get_contents($diag_file)); @unlink($diag_file); exit; } ?> lang="=strtok($locale,'_')?:'en'?>">
"> ">=_('NOTE')?>: =_('Submission of this bug report will automatically send your system diagnostics to Lime Technology')?>.
