Include UA string and PHP version in issue report.
This commit is contained in:
parent
7c219235c0
commit
b8a6dda082
@ -40,9 +40,12 @@
|
|||||||
"Content-Type: application/json"
|
"Content-Type: application/json"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Prepare $detail to POST
|
||||||
|
$body = "User Agent: ", $ua_str, "\n Server PHP Version: ", PHP_VERSION, "\n", $detail;
|
||||||
|
|
||||||
// Prepare the request
|
// Prepare the request
|
||||||
$rawData = array(
|
$rawData = array(
|
||||||
'body' => $detail,
|
'body' => $body,
|
||||||
'title' => $subject,
|
'title' => $subject,
|
||||||
'closed' => 'false'
|
'closed' => 'false'
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user