diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-10-31 02:48:39 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-10-31 02:48:39 +0000 |
commit | b84bfc6cba6ea88ec980bd926e47e2ac2fe6d35e (patch) | |
tree | db909d799791dd77b64a12b209d1e7c906daf079 /include/functions_html.inc.php | |
parent | b8cf9d8fd990fdb34a14f36b867714d116c672b3 (diff) |
bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1585 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r-- | include/functions_html.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 58cf3b8e1..11e7276b1 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 .= ' '.$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="(!)" />'; |