Project

General

Profile

« Previous | Next » 

Revision b051f148

Added by Chris Buechler over 10 years ago

need $g here so product_name is set in user agent

View differences:

etc/inc/pfsense-utils.inc
1680 1680
}
1681 1681

  
1682 1682
function download_file_with_progress_bar($url_file, $destination_file, $readbody = 'read_body', $connect_timeout=60, $timeout=0) {
1683
	global $ch, $fout, $file_size, $downloaded, $config, $first_progress_update;
1683
	global $ch, $fout, $file_size, $downloaded, $config, $first_progress_update, $g;
1684 1684
	$file_size  = 1;
1685 1685
	$downloaded = 1;
1686 1686
	$first_progress_update = TRUE;

Also available in: Unified diff