diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-12 09:14:01 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-12 09:14:01 +0200 |
commit | f716cdab0745d379a3bd68e380b613d96d7c8d4a (patch) | |
tree | ef33b6e8faa7b8419f2ef3bb981de9073aa07253 | |
parent | 5fce59bfd4fee74a29bbb4bcc110e84754aadb6b (diff) | |
parent | 48bce3074b47df078b835715be88e9ad78c02d73 (diff) | |
download | wallabag-f716cdab0745d379a3bd68e380b613d96d7c8d4a.tar.gz wallabag-f716cdab0745d379a3bd68e380b613d96d7c8d4a.tar.zst wallabag-f716cdab0745d379a3bd68e380b613d96d7c8d4a.zip |
Merge pull request #1318 from ticoombs/dev
Update Useragent to Win8.1 and FF36
-rwxr-xr-x | inc/poche/Tools.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 9c748391..e5e150cd 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -141,7 +141,7 @@ final class Tools | |||
141 | public static function getFile($url) | 141 | public static function getFile($url) |
142 | { | 142 | { |
143 | $timeout = 15; | 143 | $timeout = 15; |
144 | $useragent = "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"; | 144 | $useragent = "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0"; |
145 | 145 | ||
146 | if (in_array ('curl', get_loaded_extensions())) { | 146 | if (in_array ('curl', get_loaded_extensions())) { |
147 | # Fetch feed from URL | 147 | # Fetch feed from URL |