Include UA string and PHP version in issue report.

This commit is contained in:
Fred Boniface 2022-09-18 20:29:48 +01:00
parent 7c219235c0
commit b8a6dda082
1 changed files with 4 additions and 1 deletions

View File

@ -40,9 +40,12 @@
"Content-Type: application/json"
);
// Prepare $detail to POST
$body = "User Agent: ", $ua_str, "\n Server PHP Version: ", PHP_VERSION, "\n", $detail;
// Prepare the request
$rawData = array(
'body' => $detail,
'body' => $body,
'title' => $subject,
'closed' => 'false'
);