diff options
author | nikrou <nikrou@piwigo.org> | 2009-08-02 13:04:17 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-08-02 13:04:17 +0000 |
commit | 513b3e0bd61b094a1535183f4b734a38b6ddf27f (patch) | |
tree | 40da33b44a71342278e2de737ffd7f459ca9f325 /admin/upload.php | |
parent | d8144df868178e5e3f48a1527e3998a24fbd4c03 (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/upload.php')
-rw-r--r-- | admin/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/upload.php b/admin/upload.php index b871f6677..a8b88ccf2 100644 --- a/admin/upload.php +++ b/admin/upload.php @@ -187,7 +187,7 @@ while ( $row = mysql_fetch_array( $result ) ) $thumbnail.= get_filename_wo_extension( $row['file'] ); $thumbnail.= '.'.$row['tn_ext']; $url = $cat_names[$row['storage_category_id']]['dir']; - $url.= 'thumbnail/'.$thumbnail; + $url.= $conf['dir_thumbnail'].'/'.$thumbnail; $tpl_var['thumbnail'] = array( |