From 60ac6f180e9500c6fea0c872277f107f05d7d26d Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 23 Oct 2004 12:38:57 +0000 Subject: use of PHPWG_ROOT_PATH constant instead of './' git-svn-id: http://piwigo.org/svn/trunk@578 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/category_default.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/category_default.inc.php') 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'; } -- cgit v1.2.3