fetch_file_contents: make CURL use default tt-rss user agent (closes #351)
This commit is contained in:
parent
97279fe6ec
commit
19929bbeec
1 changed files with 1 additions and 0 deletions
|
@ -373,6 +373,7 @@
|
|||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT);
|
||||
|
||||
if ($post_query) {
|
||||
curl_setopt($ch, CURLOPT_POST, true);
|
||||
|
|
Loading…
Reference in a new issue