mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Adding crashreporterurl for rebrands
This commit is contained in:
parent
f75a45753b
commit
4b665f7489
@ -89,6 +89,7 @@ $g = array(
|
||||
"disablehelpmenu" => false,
|
||||
"disablehelpicon" => false,
|
||||
"disablecrashreporter" => false,
|
||||
"crashreporterurl" => "http://crashreporter.pfsense.org/crash_reporter.php",
|
||||
"debug" => false,
|
||||
"latest_config" => "7.6",
|
||||
"nopkg_platforms" => array("cdrom"),
|
||||
|
||||
@ -54,7 +54,7 @@ function upload_crash_report($files) {
|
||||
curl_setopt($ch, CURLOPT_VERBOSE, 0);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible;)");
|
||||
curl_setopt($ch, CURLOPT_URL, "http://crashreporter.pfsense.org/crash_reporter.php");
|
||||
curl_setopt($ch, CURLOPT_URL, $g['crashreporterurl']);
|
||||
curl_setopt($ch, CURLOPT_POST, true);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
|
||||
$response = curl_exec($ch);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user