mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Upload rights
git-svn-id: http://piwigo.org/svn/branches/release-1_3@298 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -94,6 +94,10 @@ function validate_upload( $temp_name, $my_max_file_size,
|
||||
// destruction de l'image avec le nom temporaire
|
||||
@unlink( $temp_name );
|
||||
}
|
||||
else
|
||||
{
|
||||
@chmod( $temp_name, 0644);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
//----------------------------------------------------------- personnal include
|
||||
|
||||
Reference in New Issue
Block a user