Browse Source

_DISABLE_FLOICON -> _ENABLE_FLOICON

Andrew Dolgov 6 years ago
parent
commit
7f1113a56a
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 (!defined('_DISABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') {
+		if (defined('_ENABLE_FLOICON') && strtolower($size['mime']) == 'image/vnd.microsoft.icon') {
 			$ico = new floIcon();
 			@$ico->readICO($imageFile);