diff options
| author | 2017-04-23 01:59:09 +0200 | |
|---|---|---|
| committer | 2017-04-23 01:59:09 +0200 | |
| commit | f483a5e95bc78cfb42e6fd90436c9f1c60e0242b (patch) | |
| tree | cba2dcd76138fa40d7a69803ddbccb3887b5111f /lib/Favicon/DataAccess.php | |
| parent | 57f1e9d6570e86f1bc679ed4897437ae4b14a2b5 (diff) | |
Favicon fix redirects
https://github.com/ArthurHoaro/favicon/pull/5/commits/92b42591591b4282261f21ed5ffa553f5e987a9d
Diffstat (limited to 'lib/Favicon/DataAccess.php')
| -rw-r--r-- | lib/Favicon/DataAccess.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Favicon/DataAccess.php b/lib/Favicon/DataAccess.php index 838df66c3..1445e9343 100644 --- a/lib/Favicon/DataAccess.php +++ b/lib/Favicon/DataAccess.php @@ -32,6 +32,8 @@ class DataAccess { array( 'http' => array( 'method' => 'GET', + 'follow_location' => 0, + 'max_redirects' => 1, 'timeout' => 10, 'header' => "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0; Favicon; +https://github.com/ArthurHoaro/favicon) Gecko/20100101 Firefox/32.0\r\n", ) |
