Browse Source

add _DISABLE_FLOICON

Andrew Dolgov 11 years ago
parent
commit
073672ccd5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/colors.php

+ 1 - 1
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);