aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_html.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index c08ca525e..a9dc14294 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -43,8 +43,7 @@ function get_icon( $date )
$title = $lang['recent_image'].' ';
if ( $diff < $user['recent_period'] * $day_in_seconds )
{
- $icon_url = './template/'.$user['template'].'/theme/';
- $icon_url.= 'recent.png';
+ $icon_url = get_themeconf('icon_dir').'/recent.png';
$title .= $user['recent_period'];
$title .= '&nbsp;'.$lang['days'];
$size = getimagesize( $icon_url );