Index: trunk/phpwiki/newcodebase/SpecialUpload.php |
— | — | @@ -123,6 +123,7 @@ |
124 | 124 | if ( ! move_uploaded_file( $wpUploadTempName, $wgSavedFile ) ) { |
125 | 125 | $wgOut->fileCopyError( $wpUploadTempName, $wgSavedFile ); |
126 | 126 | } |
| 127 | + chmod( $wgSavedFile, 0644 ); |
127 | 128 | } |
128 | 129 | |
129 | 130 | function unsaveUploadedFile() |