mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-05 23:56:09 +02:00
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…
x
Reference in New Issue
Block a user