summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-05-20 16:03:22 +0200
committerUrban Müller2022-05-20 16:03:22 +0200
commit0c1148fca23333d9dd00ec204968a22222af1388 (patch)
tree817c76b245ae4f7890755f95acf013bea4a9f3ef
parent1ad19406e5458d102bb3cf2091d4a1c575b7955e (diff)
downloaditools-0c1148fca23333d9dd00ec204968a22222af1388.tar.gz
itools-0c1148fca23333d9dd00ec204968a22222af1388.tar.bz2
itools-0c1148fca23333d9dd00ec204968a22222af1388.zip
curlinfo debug param (used elsewhere) makes more sense than p
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index b78f302..af162c5 100644
--- a/it_url.class
+++ b/it_url.class
@@ -230,7 +230,7 @@ static function curl_opts($p=array())
if ($p['sslcert'])
$add += [CURLOPT_SSLCERT => $p['sslcert']];
- $add += $p['curlinfo'] ? [CURLINFO_HEADER_OUT => 1] : [];
+ $add += EDC('curlinfo') ? [CURLINFO_HEADER_OUT => 1] : [];
$add += [CURLOPT_COOKIEFILE => ""];
if ($p['verbose'] || EDC('curlverbose'))