From 0c1148fca23333d9dd00ec204968a22222af1388 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 20 May 2022 16:03:22 +0200 Subject: curlinfo debug param (used elsewhere) makes more sense than p --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_url.class') 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')) -- cgit v1.2.3