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:
parent
31112ee78f
commit
faabbdcea1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue