diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-08-30 19:20:00 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-08-30 19:20:00 +0000 |
commit | c918bb9209202bf9c7172890db626f07381346ac (patch) | |
tree | 5a5e6141716c401c5e0f9330989763f6587ee5b3 /admin/include/functions_upload.inc.php | |
parent | d9854148a5100e2a1056441057deac40cbd67379 (diff) |
bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions_upload.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index eecdcdff0..d2b101dbb 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -246,6 +246,7 @@ SELECT { rename($source_filepath, $file_path); } + @chmod($file_path, 0644); if (pwg_image::get_library() != 'gd') { |