Browse Source

Minor favicon text

https://github.com/FreshRSS/FreshRSS/pull/1505
https://github.com/FreshRSS/FreshRSS/pull/1504
Alexandre Alapetite 9 years ago
parent
commit
ed99245810
3 changed files with 1 additions and 3 deletions
  1. 0 1
      README.fr.md
  2. 0 1
      README.md
  3. 1 1
      lib/favicons.php

+ 0 - 1
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/)

+ 0 - 1
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/)

+ 1 - 1
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')) {