From 513b3e0bd61b094a1535183f4b734a38b6ddf27f Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 2 Aug 2009 13:04:17 +0000 Subject: New feature : configuration option for thumbnail directory git-svn-id: http://piwigo.org/svn/trunk@3720 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/thumbnail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/thumbnail.php') diff --git a/admin/thumbnail.php b/admin/thumbnail.php index 3034e8478..46e42c33e 100644 --- a/admin/thumbnail.php +++ b/admin/thumbnail.php @@ -204,7 +204,7 @@ while ( $row=mysql_fetch_assoc($result) ) // searching the element $filename_wo_ext = get_filename_wo_extension($filename); $tn_ext = ''; - $base_test = $dirname.'/thumbnail/'; + $base_test = $dirname.'/'.$conf['dir_thumbnail'].'/'; $base_test.= $conf['prefix_thumbnail'].$filename_wo_ext.'.'; foreach ($conf['picture_ext'] as $ext) { -- cgit v1.2.3