Upload rights
git-svn-id: http://piwigo.org/svn/branches/release-1_3@298 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
6dbfba3719
commit
8d2a8cdadd
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue