mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
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:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user