Skip to content

Commit

Permalink
bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@1586 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rvelices committed Oct 31, 2006
1 parent a81bac0 commit 8c4cb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions_html.inc.php
Expand Up @@ -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="(!)" />';
Expand Down

0 comments on commit 8c4cb2d

Please sign in to comment.