Upload rights

git-svn-id: http://piwigo.org/svn/branches/release-1_3@298 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas 2004-01-18 23:35:54 +00:00
parent 6dbfba3719
commit 8d2a8cdadd

View file

@ -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