#!/usr/bin/php -q $docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'; require_once "$docroot/webGui/include/Helpers.php"; extract(parse_plugin_cfg('dynamix',true)); // add translations $_SERVER['REQUEST_URI'] = ''; $login_locale = $display['locale']; require_once "$docroot/webGui/include/Translations.php"; function write($message){ $nchan = curl_init(); curl_setopt_array($nchan,[ CURLOPT_URL => 'http://localhost/pub/feedback?buffer_length=0', CURLOPT_UNIX_SOCKET_PATH => '/var/run/nginx.socket', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => $message, CURLOPT_RETURNTRANSFER => true ]); curl_exec($nchan); curl_close($nchan); } $var = parse_ini_file('state/var.ini'); $unraid = parse_ini_file('/etc/unraid-version'); $keyfile = trim(base64_encode(@file_get_contents($var['regFILE']))); $width = in_array($display['theme'],['azure','gray']) ? '98.4%' : '100%'; $style = [""; $html = ["
"._('NOTE').": "._('Submission of this bug report will automatically send your system diagnostics to Lime Technology').".
"; $html[] = "