fetch_file_contents: do not set referrer when using curl
This commit is contained in:
parent
bace5e9e6f
commit
1fd733c8ff
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue