$docroot = $docroot ?: @$_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'; $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; } ?>
NOTE: Submission of this bug report will automatically send your system diagnostics to Lime Technology.
