Skip to content
Snippets Groups Projects
Commit 2abea964 authored by Joan's avatar Joan
Browse files

Disabled internet checking as mentioned when in proxy mode

parent 6be2dee5
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment