[core] stop logging curl debug info to stdout
This commit is contained in:
parent
9c4e306b58
commit
28a3aad887
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ function fetch_url(string $url, string $mfile): array
|
||||||
$fp = false_throws(fopen($mfile, "w"));
|
$fp = false_throws(fopen($mfile, "w"));
|
||||||
|
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
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_HEADER, 1);
|
||||||
curl_setopt($ch, CURLOPT_REFERER, $url);
|
curl_setopt($ch, CURLOPT_REFERER, $url);
|
||||||
curl_setopt($ch, CURLOPT_USERAGENT, "Shimmie-".VERSION);
|
curl_setopt($ch, CURLOPT_USERAGENT, "Shimmie-".VERSION);
|
||||||
|
|
Reference in a new issue