mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-21 18:11:10 +00:00
Update Useragent to Win8.1 and FF36
This commit is contained in:
parent
5fce59bfd4
commit
48bce3074b
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ final class Tools
|
||||||
public static function getFile($url)
|
public static function getFile($url)
|
||||||
{
|
{
|
||||||
$timeout = 15;
|
$timeout = 15;
|
||||||
$useragent = "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0";
|
$useragent = "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0";
|
||||||
|
|
||||||
if (in_array ('curl', get_loaded_extensions())) {
|
if (in_array ('curl', get_loaded_extensions())) {
|
||||||
# Fetch feed from URL
|
# Fetch feed from URL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue