From a5eca8875078f7fea55e009a47694a2111354ae6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 19 May 2013 13:53:37 +0400 Subject: add a placeholder where floicon might be added if needed, still keep it off trunk re: author being a shitlord --- include/colors.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/colors.php b/include/colors.php index 41bf7b819..91eaa2dc2 100644 --- a/include/colors.php +++ b/include/colors.php @@ -1,6 +1,8 @@ "#f0f8ff", @@ -286,7 +288,8 @@ function hsl2rgb($arr) { $size = @getimagesize($imageFile); - if (!defined('_DISABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') { + if (strtolower($size['mime']) == 'image/vnd.microsoft.icon' && class_exists("floIcon")) { + $ico = new floIcon(); @$ico->readICO($imageFile); -- cgit v1.2.3