mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 03:20:59 +02:00
allows favicons to be in Windows PC BMP format
This commit is contained in:
parent
d4fec604fc
commit
f9ad33c2d8
@ -1517,6 +1517,10 @@ class RSSUtils {
|
|||||||
// 0 beshort 0xffd8 JPEG image data
|
// 0 beshort 0xffd8 JPEG image data
|
||||||
//error_log("check_feed_favicon: favicon_url=$favicon_url isa JPG image");
|
//error_log("check_feed_favicon: favicon_url=$favicon_url isa JPG image");
|
||||||
}
|
}
|
||||||
|
elseif (preg_match('/^BM/', $contents)) {
|
||||||
|
// 0 string BM PC bitmap (OS2, Windows BMP files)
|
||||||
|
//error_log("check_feed_favicon, favicon_url=$favicon_url isa BMP image");
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
//error_log("check_feed_favicon: favicon_url=$favicon_url isa UNKNOWN type");
|
//error_log("check_feed_favicon: favicon_url=$favicon_url isa UNKNOWN type");
|
||||||
$contents = "";
|
$contents = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user