diff options
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index cccd0ed80..a8c65f0e9 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -256,7 +256,7 @@ function mkgetdir($dir, $flags=MKGETDIR_DEFAULT) */ function mkget_thumbnail_dir($dirname, &$errors) { - $tndir = $dirname.'/thumbnail'; + $tndir = $dirname.'/'.$conf['dir_thumbnail']; if (! mkgetdir($tndir, MKGETDIR_NONE) ) { array_push($errors, @@ -865,7 +865,7 @@ function get_thumbnail_location($element_info) { $path = substr_replace( get_filename_wo_extension($element_info['path']), - '/thumbnail/'.$conf['prefix_thumbnail'], + '/'.$conf['dir_thumbnail'].'/'.$conf['prefix_thumbnail'], strrpos($element_info['path'],'/'), 1 ); |