Disabled internet checking as mentioned when in proxy mode

remotes/origin/ldap_group_count
Joan 11 years ago
parent 6be2dee5bc
commit 2abea96462
  1. 5
      lib/private/util.php

@ -892,6 +892,11 @@ class OC_Util {
return false;
}
// in case the connection is via proxy return true to avoid connecting to owncloud.org
if(OC_Config::getValue('proxy', '') != '') {
return true;
}
// try to connect to owncloud.org to see if http connections to the internet are possible.
$connected = @fsockopen("www.owncloud.org", 80);
if ($connected) {

Loading…
Cancel
Save