1
0
mirror of synced 2024-11-21 21:06:07 +03:00

minor fixes

This commit is contained in:
Alex Lushpai 2015-05-04 18:56:30 +03:00
parent d1b26b1663
commit 7ec35c2ad8

View File

@ -59,8 +59,8 @@ class Client
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $path);
curl_setopt($ch, CURLOPT_TIMEOUT, (int)$timeout);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_TIMEOUT, (int) $timeout);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, (int) $timeout);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_FAILONERROR, false);