|
...
|
...
|
@@ -100,6 +100,7 @@ if (!function_exists('http_get')) { |
|
|
|
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true);
|
|
|
|
curl_setopt($ch1, CURLOPT_ENCODING, '');
|
|
|
|
curl_setopt($ch1, CURLOPT_MAXREDIRS, 10);
|
|
|
|
curl_setopt($ch1, CURLOPT_TIMEOUT, 120);
|
|
|
|
curl_setopt($ch1, CURLOPT_HTTPHEADER, $header);
|
|
|
|
curl_setopt($ch1, CURLOPT_CONNECTTIMEOUT, $timeout);
|
|
|
|
curl_setopt($ch1, CURLOPT_FOLLOWLOCATION, true);
|
...
|
...
|
|