X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fremote_url.inc;h=fb0c1348fa48c8dbad4bbd38b26729b22615a39c;hb=175a48c5bd73abe16e77fa2cb48ba522f00d1501;hp=8b033806bffd92de9bf13d65000885d99c12934e;hpb=6108acadfe6369362f469909f8dac47c17d21322;p=fa-stable.git diff --git a/includes/remote_url.inc b/includes/remote_url.inc index 8b033806..fb0c1348 100644 --- a/includes/remote_url.inc +++ b/includes/remote_url.inc @@ -63,8 +63,8 @@ function url_get_contents($url, $timeout=10) $len =0; while ($line = fread($fp, 4096)) { $response .= $line; -// if ($host=='localhost') -// stream_set_blocking($fp, 0); // just after connection switch to nonblocking mode + if ($host=='localhost') + stream_set_blocking($fp, 0); // just after connection switch to nonblocking mode } fclose( $fp );