From: Andrew Dolgov Date: Thu, 18 Apr 2013 10:41:30 +0000 (+0400) Subject: add _DISABLE_FLOICON X-Git-Tag: 1.7.9~25^2~143 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=073672ccd50d76800b5c2489cea9105aec8957eb;p=tt-rss.git add _DISABLE_FLOICON --- diff --git a/include/colors.php b/include/colors.php index b20c34c4..7cf1a6af 100644 --- a/include/colors.php +++ b/include/colors.php @@ -286,7 +286,7 @@ function hsl2rgb($arr) { $size = @getimagesize($imageFile); - if (strtolower($size['mime']) == 'image/vnd.microsoft.icon') { + if (!defined('_DISABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') { $ico = new floIcon(); @$ico->readICO($imageFile);