Skip to content

Commit

Permalink
add _DISABLE_FLOICON
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Apr 18, 2013
1 parent 6421b42 commit 073672c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/colors.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function colorPalette($imageFile, $numColors, $granularity = 5) {

$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);

Expand Down

0 comments on commit 073672c

Please sign in to comment.