Commit 3ce337fa authored by Franco Fichtner's avatar Franco Fichtner

Merge pull request #383 from fabianfrz/add_useragent_to_crash_reporter

added user agent to crash reporter
parents 8b79cccd 7eefd54b
......@@ -91,6 +91,10 @@ if (isset($_POST['Submit'])) {
if (!empty($email)) {
$crash_report_header .= "Email {$email}\n";
}
if (isset($_SERVER["HTTP_USER_AGENT"]))
{
$crash_report_header .= "User Agent " . $_SERVER["HTTP_USER_AGENT"] . "\n";
}
$desc = trim($_POST['Desc']);
if (!empty($desc)) {
$crash_report_header .= "Description\n\n{$desc}";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment