mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
bug 571: getimagesize error (missing PHPWG_ROOT_PATH)
git-svn-id: http://piwigo.org/svn/trunk@1586 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
a81bac0f15
commit
8c4cb2d09a
1 changed files with 1 additions and 1 deletions
|
@ -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="(!)" />';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue