fetch_file_contents: do not set referrer when using curl
This commit is contained in:
parent
bace5e9e6f
commit
1fd733c8ff
|
@ -381,7 +381,7 @@
|
|||
curl_setopt($ch, CURLOPT_USERAGENT, $useragent ? $useragent :
|
||||
SELF_USER_AGENT);
|
||||
curl_setopt($ch, CURLOPT_ENCODING, "");
|
||||
curl_setopt($ch, CURLOPT_REFERER, $url);
|
||||
//curl_setopt($ch, CURLOPT_REFERER, $url);
|
||||
|
||||
if (!ini_get("safe_mode") && !ini_get("open_basedir")) {
|
||||
curl_setopt($ch, CURLOPT_COOKIEJAR, "/dev/null");
|
||||
|
|
Loading…
Reference in New Issue