summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-02-01 01:33:27 -0600
committerChris Buechler <cmb@pfsense.org>2015-02-01 01:33:27 -0600
commitb051f1487aa2041c8f23342a895da46d9a7b46c2 (patch)
treea52c0887de8486526f92e4ef9af88e571cc23bb6 /etc/inc/pfsense-utils.inc
parent69aeef21955e7f2d9b6b1ad897d3655bb43506fe (diff)
downloadpfsense-b051f1487aa2041c8f23342a895da46d9a7b46c2.zip
pfsense-b051f1487aa2041c8f23342a895da46d9a7b46c2.tar.gz
need $g here so product_name is set in user agent
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9bc94cd..36640aa 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1680,7 +1680,7 @@ function download_file($url, $destination, $verify_ssl = false, $connect_timeout
}
function download_file_with_progress_bar($url_file, $destination_file, $readbody = 'read_body', $connect_timeout=60, $timeout=0) {
- global $ch, $fout, $file_size, $downloaded, $config, $first_progress_update;
+ global $ch, $fout, $file_size, $downloaded, $config, $first_progress_update, $g;
$file_size = 1;
$downloaded = 1;
$first_progress_update = TRUE;
OpenPOWER on IntegriCloud