summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-23 18:23:37 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-23 18:23:37 +0200
commited99245810fce469b30c946e7fc405887c2a5b61 (patch)
treefbd5d51c5e57166e09a8ea8e0559edfb4c0cb6fd
parent251f11c1d7613321b2137467831ce68ae921231d (diff)
Minor favicon text
https://github.com/FreshRSS/FreshRSS/pull/1505 https://github.com/FreshRSS/FreshRSS/pull/1504
-rw-r--r--README.fr.md1
-rw-r--r--README.md1
-rw-r--r--lib/favicons.php2
3 files changed, 1 insertions, 3 deletions
diff --git a/README.fr.md b/README.fr.md
index de76919e6..25895d48c 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -159,7 +159,6 @@ Voir le [dépôt dédié à ces extensions](https://github.com/FreshRSS/Extensio
* [MINZ](https://github.com/marienfressinaud/MINZ)
* [php-http-304](http://alexandre.alapetite.fr/doc-alex/php-http-304/)
* [jQuery](http://jquery.com/)
-* [ArthurHoaro/favicon](https://github.com/ArthurHoaro/favicon)
* [lib_opml](https://github.com/marienfressinaud/lib_opml)
* [jQuery Plugin Sticky-Kit](http://leafo.net/sticky-kit/)
* [keyboard_shortcuts](http://www.openjs.com/scripts/events/keyboard_shortcuts/)
diff --git a/README.md b/README.md
index 94b8ee045..ef04c8cc0 100644
--- a/README.md
+++ b/README.md
@@ -160,7 +160,6 @@ See the [repository dedicated to those extensions](https://github.com/FreshRSS/E
* [MINZ](https://github.com/marienfressinaud/MINZ)
* [php-http-304](http://alexandre.alapetite.fr/doc-alex/php-http-304/)
* [jQuery](http://jquery.com/)
-* [ArthurHoaro/favicon](https://github.com/ArthurHoaro/favicon)
* [lib_opml](https://github.com/marienfressinaud/lib_opml)
* [jQuery Plugin Sticky-Kit](http://leafo.net/sticky-kit/)
* [keyboard_shortcuts](http://www.openjs.com/scripts/events/keyboard_shortcuts/)
diff --git a/lib/favicons.php b/lib/favicons.php
index 62a21a246..48f7c9fda 100644
--- a/lib/favicons.php
+++ b/lib/favicons.php
@@ -4,7 +4,7 @@ $default_favicon = PUBLIC_PATH . '/themes/icons/default_favicon.ico';
function isImgMime($content) {
//Based on https://github.com/ArthurHoaro/favicon/blob/3a4f93da9bb24915b21771eb7873a21bde26f5d1/src/Favicon/Favicon.php#L311-L319
- if($content == '') {
+ if ($content == '') {
return false;
}
if (!extension_loaded('fileinfo')) {