diff options
author | Andrew Dolgov <[email protected]> | 2013-04-15 14:54:17 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-15 14:54:17 +0400 |
commit | 14118af36f2ba65a4e5151ee33b6ad565492cbf0 (patch) | |
tree | ac4dc7c130dcce952e6b059022a7259ee720eecb /include | |
parent | 2cfbb448fb197837c063c377c042beb3ba704a52 (diff) |
fix schema for favicon_avg_color
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php index 1ae5bbbe2..46882c387 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@ <?php define('EXPECTED_CONFIG_VERSION', 26); - define('SCHEMA_VERSION', 116); + define('SCHEMA_VERSION', 117); define('LABEL_BASE_INDEX', -1024); define('PLUGIN_FEED_BASE_INDEX', -128); @@ -511,13 +511,13 @@ return $icon_file; } } - + function calculate_avg_color($iconFile) { - + require_once "lib/floIcon.php"; - + $imgInfo = @getimagesize($iconFile); - + if(strtolower($imgInfo['mime'])=='image/vnd.microsoft.icon') { $ico = new floIcon(); @$ico->readICO($iconFile); |