use of PHPWG_ROOT_PATH constant instead of './'

git-svn-id: http://piwigo.org/svn/trunk@578 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-10-23 12:38:57 +00:00
parent 18fc366d6d
commit 60ac6f180e
+2 -1
View File
@@ -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';
}