diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-02-07 21:52:29 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-02-07 21:52:29 -0500 |
commit | 4b665f7489a7a0040b759f2e93f2e2b7f4d06eec (patch) | |
tree | 56d0c64d5fcfe6156c5574235c2201370c67b1dd | |
parent | f75a45753b3020142ade9807e0a1ef8742b7aae2 (diff) | |
download | pfsense-4b665f7489a7a0040b759f2e93f2e2b7f4d06eec.zip pfsense-4b665f7489a7a0040b759f2e93f2e2b7f4d06eec.tar.gz |
Adding crashreporterurl for rebrands
-rw-r--r-- | etc/inc/globals.inc | 1 | ||||
-rwxr-xr-x | usr/local/www/crash_reporter.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 0b46ef0..662bb51 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -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"), diff --git a/usr/local/www/crash_reporter.php b/usr/local/www/crash_reporter.php index 0995b57..1da47b3 100755 --- a/usr/local/www/crash_reporter.php +++ b/usr/local/www/crash_reporter.php @@ -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); |