1
0
Fork 0
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:
Tim Coombs 2015-08-12 14:57:00 +10:00
parent 5fce59bfd4
commit 48bce3074b

View file

@ -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