mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -623,6 +623,7 @@ if ($d_size[0]*$d_size[1] < 256000)
|
||||
$image->set_compression_quality( ImageStdParams::$quality );
|
||||
$image->write( $page['derivative_path'] );
|
||||
$image->destroy();
|
||||
@chmod($page['derivative_path'], 0644);
|
||||
$timing['save'] = time_step($step);
|
||||
|
||||
send_derivative($expires);
|
||||
|
||||
Reference in New Issue
Block a user