diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index f1cba491..276cee31 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -1097,7 +1097,7 @@ class Admin_DataController extends Zend_Controller_Action else { $files=new files(); - $msg = $files -> upload(Zend_Registry::get('upload'),$_FILES['Filedata'],$_POST['dir']); + $msg = $files -> upload($this->view->config->upload,$_FILES['Filedata'],$_POST['dir']); if(empty($msg['error'])) {