summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php10
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);