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
This commit is contained in:
rvelices 2012-08-30 19:20:00 +00:00
parent d9854148a5
commit c918bb9209
6 changed files with 25 additions and 51 deletions

View file

@ -246,6 +246,7 @@ SELECT
{
rename($source_filepath, $file_path);
}
@chmod($file_path, 0644);
if (pwg_image::get_library() != 'gd')
{