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:
Robb 2017-03-04 22:15:19 -05:00 committed by GitHub
commit 6085a8fd27
2 changed files with 15 additions and 3 deletions

View file

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