[core] stop logging curl debug info to stdout

This commit is contained in:
Shish 2024-02-13 01:05:35 +00:00
parent 9c4e306b58
commit 28a3aad887

View file

@ -302,7 +302,7 @@ function fetch_url(string $url, string $mfile): array
$fp = false_throws(fopen($mfile, "w"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
# curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_REFERER, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Shimmie-".VERSION);