CC-3426: apache log errors from plupload
-fixed
This commit is contained in:
parent
a50b1ffe73
commit
3f713ca8dc
3 changed files with 15 additions and 10 deletions
|
@ -39,7 +39,7 @@ class PluploadController extends Zend_Controller_Action
|
|||
$filename = $this->_getParam('name');
|
||||
$tempname = $this->_getParam('tempname');
|
||||
$result = Application_Model_StoredFile::copyFileToStor($upload_dir, $filename, $tempname);
|
||||
if (isset($result))
|
||||
if (!is_null($result))
|
||||
die('{"jsonrpc" : "2.0", "error" : {"code": '.$result['code'].', "message" : "'.$result['message'].'"}}');
|
||||
|
||||
die('{"jsonrpc" : "2.0"}');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue