Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36
commit
f6100f9f79
|
@ -169,7 +169,7 @@ if ( $check && $Config{ZM_CHECK_FOR_UPDATES} ) {
|
|||
my $ua = LWP::UserAgent->new;
|
||||
$ua->agent('ZoneMinder Update Agent/'.ZM_VERSION);
|
||||
if ( $Config{ZM_UPDATE_CHECK_PROXY} ) {
|
||||
$ua->proxy('http', $Config{ZM_UPDATE_CHECK_PROXY});
|
||||
$ua->proxy('https', $Config{ZM_UPDATE_CHECK_PROXY});
|
||||
}
|
||||
my $req = HTTP::Request->new(GET=>'https://update.zoneminder.com/version.txt');
|
||||
my $res = $ua->request($req);
|
||||
|
|
Loading…
Reference in New Issue