New feature : configuration option for thumbnail directory

git-svn-id: http://piwigo.org/svn/trunk@3720 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2009-08-02 13:04:17 +00:00
parent d8144df868
commit 513b3e0bd6
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -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))