Favicon minor

pull/1504/head
Alexandre Alapetite 8 years ago
parent 82b15936e1
commit 8f6837b386
  1. 2
      CHANGELOG.md
  2. 2
      lib/favicons.php

@ -23,7 +23,7 @@
* Improve English [#1465](https://github.com/FreshRSS/FreshRSS/pull/1465) * Improve English [#1465](https://github.com/FreshRSS/FreshRSS/pull/1465)
* Misc. * Misc.
* Fall back to article URL when the article GUID is empty [#1482](https://github.com/FreshRSS/FreshRSS/issues/1482) * Fall back to article URL when the article GUID is empty [#1482](https://github.com/FreshRSS/FreshRSS/issues/1482)
* Rewriten Favicon library using cURL [#1504](https://github.com/FreshRSS/FreshRSS/pull/1504) * Rewritten Favicon library using cURL [#1504](https://github.com/FreshRSS/FreshRSS/pull/1504)
## 2017-03-11 FreshRSS 1.6.3 ## 2017-03-11 FreshRSS 1.6.3

@ -44,7 +44,7 @@ function downloadHttp(&$url, $curlOptions = array()) {
$info = curl_getinfo($ch); $info = curl_getinfo($ch);
curl_close($ch); curl_close($ch);
if (!empty($info['url']) && (filter_var($info['url'], FILTER_VALIDATE_URL) !== false)) { if (!empty($info['url']) && (filter_var($info['url'], FILTER_VALIDATE_URL) !== false)) {
$url = $info['url']; $url = $info['url']; //Possible redirect
} }
return $info['http_code'] == 200 ? $response : ''; return $info['http_code'] == 200 ? $response : '';
} }

Loading…
Cancel
Save