|
|
@@ -113,11 +113,6 @@ class SimplePie_File
|
|
|
curl_setopt($fp, CURLOPT_REFERER, SimplePie_Misc::url_remove_credentials($url));
|
|
|
curl_setopt($fp, CURLOPT_USERAGENT, $useragent);
|
|
|
curl_setopt($fp, CURLOPT_HTTPHEADER, $headers2);
|
|
|
- //if (!ini_get('open_basedir') && !ini_get('safe_mode') && version_compare(SimplePie_Misc::get_curl_version(), '7.15.2', '>='))
|
|
|
- //{
|
|
|
- // curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
|
|
|
- // curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
|
|
|
- //}
|
|
|
foreach ($curl_options as $curl_param => $curl_value) {
|
|
|
curl_setopt($fp, $curl_param, $curl_value);
|
|
|
}
|