diff options
-rw-r--r-- | it_url.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class index 11be048..4552cf5 100644 --- a/it_url.class +++ b/it_url.class @@ -121,7 +121,7 @@ function get($p=null, $timeout=5) else # called statically $url = new it_url($p['url']); - if ($url->protocol == 'http') + if ($url->protocol == 'http' && !$p['curl']) $result = $url->request($p); else $result = $url->request_curl($p); |