summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorNathan Gass2017-08-21 16:56:07 +0200
committerNathan Gass2017-08-21 16:56:07 +0200
commitbb2eeffd799ac6b184765279185c663d21276a51 (patch)
tree7d35279000703dbd521ddfe89ee0ae7f21ad68e8 /it_url.class
parent23986b65d683b5ec34822de198185b0571634767 (diff)
downloaditools-bb2eeffd799ac6b184765279185c663d21276a51.tar.gz
itools-bb2eeffd799ac6b184765279185c663d21276a51.tar.bz2
itools-bb2eeffd799ac6b184765279185c663d21276a51.zip
always use curl
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 1594f4c..0b6b166 100644
--- a/it_url.class
+++ b/it_url.class
@@ -111,7 +111,7 @@ function get($p=null, $timeout=5)
{
if (!is_array($p))
$p = array('url' => $p, 'timeout' => $timeout);
- $p += array('retries' => 1);
+ $p += array('retries' => 1, 'curl' => true);
if (($filter = EDC('req')) && ($filter == 1 || strstr($p['url'], "/$filter.")))
ED($p['url']);