Disabled internet checking as mentioned when in proxy mode

remotes/origin/stable6
Joan 13 years ago committed by Thomas Müller
parent 2257ae987f
commit b09614b61b
  1. 5
      lib/private/util.php

@ -920,6 +920,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