From 28a3aad8879a5f66f3b2eef07a1b43f850b729fe Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 13 Feb 2024 01:05:35 +0000 Subject: [PATCH] [core] stop logging curl debug info to stdout --- core/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.php b/core/util.php index 1576ae81b..ce23f9134 100644 --- a/core/util.php +++ b/core/util.php @@ -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);