diff --git a/include/colors.php b/include/colors.php index a9f633ef4..7cf1a6af0 100644 --- a/include/colors.php +++ b/include/colors.php @@ -286,7 +286,7 @@ function hsl2rgb($arr) { $size = @getimagesize($imageFile); - if (defined('_ENABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') { + if (!defined('_DISABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') { $ico = new floIcon(); @$ico->readICO($imageFile);