aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/thumbnail.php2
-rw-r--r--admin/upload.php2
2 files changed, 2 insertions, 2 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)
{
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(