diff options
author | Urban Müller | 2022-05-20 16:03:22 +0200 |
---|---|---|
committer | Urban Müller | 2022-05-20 16:03:22 +0200 |
commit | 0c1148fca23333d9dd00ec204968a22222af1388 (patch) | |
tree | 817c76b245ae4f7890755f95acf013bea4a9f3ef /it_url.class | |
parent | 1ad19406e5458d102bb3cf2091d4a1c575b7955e (diff) | |
download | itools-0c1148fca23333d9dd00ec204968a22222af1388.tar.gz itools-0c1148fca23333d9dd00ec204968a22222af1388.tar.bz2 itools-0c1148fca23333d9dd00ec204968a22222af1388.zip |
curlinfo debug param (used elsewhere) makes more sense than p
Diffstat (limited to 'it_url.class')
-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 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')) |