Skip to content

Commit

Permalink
[core] stop logging curl debug info to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 13, 2024
1 parent 9c4e306 commit 28a3aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 28a3aad

Please sign in to comment.