From 073672ccd50d76800b5c2489cea9105aec8957eb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Apr 2013 14:41:30 +0400 Subject: [PATCH] add _DISABLE_FLOICON --- include/colors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5