修改了附件管理中删除附件时获取文件路径的方法为从config中获得

This commit is contained in:
Li Jianxuan 2011-11-04 01:48:16 +00:00
parent ff20f636d2
commit 0ce0b99fb7
1 changed files with 1 additions and 1 deletions

View File

@ -1137,7 +1137,7 @@ class Admin_DataController extends Zend_Controller_Action
//需要删除文件通过Zend_Registry::get('upload')获得上传文件的根目录 //需要删除文件通过Zend_Registry::get('upload')获得上传文件的根目录
$basepath = Zend_Registry::get('upload'); $basepath = $this->view->config->upload;
//从数据库获取文件路径 //从数据库获取文件路径