diff options
author | Tim Coombs <ticoombs@users.noreply.github.com> | 2015-08-12 14:57:00 +1000 |
---|---|---|
committer | Tim Coombs <ticoombs@users.noreply.github.com> | 2015-08-12 14:57:00 +1000 |
commit | 48bce3074b47df078b835715be88e9ad78c02d73 (patch) | |
tree | ef33b6e8faa7b8419f2ef3bb981de9073aa07253 | |
parent | 5fce59bfd4fee74a29bbb4bcc110e84754aadb6b (diff) | |
download | wallabag-48bce3074b47df078b835715be88e9ad78c02d73.tar.gz wallabag-48bce3074b47df078b835715be88e9ad78c02d73.tar.zst wallabag-48bce3074b47df078b835715be88e9ad78c02d73.zip |
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 |