aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/category_default.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/category_default.inc.php b/include/category_default.inc.php
index 178f5a404..56b43524c 100644
--- a/include/category_default.inc.php
+++ b/include/category_default.inc.php
@@ -97,7 +97,8 @@ while ($row = mysql_fetch_array($result))
}
else
{
- $thumbnail_url = './template/'.$user['template'].'/mimetypes/';
+ $thumbnail_url = PHPWG_ROOT_PATH;
+ $thumbnail_url.= 'template/'.$user['template'].'/mimetypes/';
$thumbnail_url.= strtolower(get_extension($row['file'])).'.png';
}