cc-1799 Human Filesystem
storage dir should be created first so then it's realpath can be inserted into the database.
This commit is contained in:
parent
7876552b38
commit
e725e4fbe4
3 changed files with 8 additions and 10 deletions
|
@ -25,7 +25,7 @@ class PluploadController extends Zend_Controller_Action
|
|||
public function uploadAction()
|
||||
{
|
||||
$upload_dir = ini_get("upload_tmp_dir") . DIRECTORY_SEPARATOR . "plupload";
|
||||
$res = StoredFile::uploadFile($upload_dir);
|
||||
StoredFile::uploadFile($upload_dir);
|
||||
|
||||
die('{"jsonrpc" : "2.0"}');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue