diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-10-23 12:38:57 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-10-23 12:38:57 +0000 |
commit | 60ac6f180e9500c6fea0c872277f107f05d7d26d (patch) | |
tree | aeb291e2b31748c11bf3da459e603649ef036956 | |
parent | 18fc366d6d33b637fc4ef237f70548595903b046 (diff) |
use of PHPWG_ROOT_PATH constant instead of './'
git-svn-id: http://piwigo.org/svn/trunk@578 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/category_default.inc.php | 3 |
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'; } |