1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Log successful response length in postVariables function

This commit is contained in:
Daniel Neto 2025-08-27 22:11:12 -03:00
parent 31112ee78f
commit faabbdcea1

View file

@ -2974,6 +2974,7 @@ function postVariables($url, $array, $httpcodeOnly = true, $timeout = 10)
} }
return $httpcode; return $httpcode;
} else { } else {
_error_log("postVariables: {$url} success ".strlen($response));
curl_close($ch); curl_close($ch);
return $response; return $response;
} }