Modified: added curel request time out for youtube upload

This commit is contained in:
Awais-cb 2017-06-29 11:28:38 +05:00
parent 2e3b6f8b90
commit 42361489e9

View file

@ -88,7 +88,7 @@ if(isset($_POST['youtube']))
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $request);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
$youtube_content = curl_exec($ch);
curl_close($ch);