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 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')) |