Merge pull request #22 from radiorabe/feature/use-zend-file-transfer-for-plupload
Use Zend_File_Transfer instead of $_FILES
This commit is contained in:
commit
6085a8fd27
2 changed files with 15 additions and 3 deletions
|
@ -92,8 +92,8 @@ class CcFiles extends BaseCcFiles {
|
|||
|
||||
//Extract the original filename, which we set as the temporary title for the track
|
||||
//until it's finished being processed by the analyzer.
|
||||
$originalFilename = $_FILES["file"]["name"];
|
||||
$tempFilePath = $_FILES['file']['tmp_name'];
|
||||
$originalFilename = $fileArray['file']['name'];
|
||||
$tempFilePath = $fileArray['file']['tmp_name'];
|
||||
|
||||
try {
|
||||
return self::createAndImport($fileArray, $tempFilePath, $originalFilename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue