aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-31 02:49:16 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-31 02:49:16 +0000
commit8c4cb2d09a66e20ca6084eb3c6a9824d4cad7806 (patch)
tree4cbf9810418b5275114065f672cb111facd465f7 /include/functions_html.inc.php
parenta81bac0f15907d81da4e9fea978840b9a10210c8 (diff)
bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
git-svn-id: http://piwigo.org/svn/trunk@1586 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r--include/functions_html.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 193127195..969bb48be 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -64,7 +64,7 @@ function get_icon($date)
$icon_url = get_themeconf('icon_dir').'/recent.png';
$title .= $user['recent_period'];
$title .= '&nbsp;'.$lang['days'];
- $size = getimagesize( $icon_url );
+ $size = getimagesize( PHPWG_ROOT_PATH.$icon_url );
$icon_url = get_root_url().$icon_url;
$output = '<img title="'.$title.'" src="'.$icon_url.'" class="icon" style="border:0;';
$output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)" />';