diff options
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 591763d5b..00394c791 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1065,7 +1065,7 @@ SELECT // thumbnail directory is a subdirectory of the photo file, hard coded // "thumbnail" - $thumbnail_dir = $upload_dir.'/thumbnail'; + $thumbnail_dir = $upload_dir.'/'.$conf['dir_thumbnail']; if (!is_dir($thumbnail_dir)) { umask(0000); if (!@mkdir($thumbnail_dir, 0777)) |