mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user