aboutsummaryrefslogtreecommitdiffstats
path: root/admin/thumbnail.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2009-08-02 13:04:17 +0000
committernikrou <nikrou@piwigo.org>2009-08-02 13:04:17 +0000
commit513b3e0bd61b094a1535183f4b734a38b6ddf27f (patch)
tree40da33b44a71342278e2de737ffd7f459ca9f325 /admin/thumbnail.php
parentd8144df868178e5e3f48a1527e3998a24fbd4c03 (diff)
New feature : configuration option for thumbnail directory
git-svn-id: http://piwigo.org/svn/trunk@3720 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/thumbnail.php')
-rw-r--r--admin/thumbnail.php2
1 files changed, 1 insertions, 1 deletions
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)
{