Index: trunk/phase3/includes/upload/UploadFromFile.php |
— | — | @@ -2,9 +2,9 @@ |
3 | 3 | /** |
4 | 4 | * @file |
5 | 5 | * @ingroup upload |
6 | | - * |
| 6 | + * |
7 | 7 | * @author Bryan Tong Minh |
8 | | - * |
| 8 | + * |
9 | 9 | * Implements regular file uploads |
10 | 10 | */ |
11 | 11 | class UploadFromFile extends UploadBase { |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | $desiredDestName = $request->getText( 'wpDestFile' ); |
16 | 16 | if( !$desiredDestName ) |
17 | 17 | $desiredDestName = $request->getText( 'wpUploadFile' ); |
18 | | - return $this->initialize( |
| 18 | + return $this->initializePathInfo( |
19 | 19 | $desiredDestName, |
20 | 20 | $request->getFileTempName( 'wpUploadFile' ), |
21 | 21 | $request->getFileSize( 'wpUploadFile' ) |