fixed bug in export xml
This commit is contained in:
parent
38f34f9373
commit
590313d5c7
|
@ -420,7 +420,7 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
|
||||
//创建zip文件,创建成功后再使用查询结果
|
||||
$zip = new ZipArchive();
|
||||
$url = tempnam($this->config->temp->path,$tmpname);//创建临时文件
|
||||
$url = tempnam($this->view->config->temp->path,$tmpname);//创建临时文件
|
||||
|
||||
if( $zip->open($url, ZIPARCHIVE::CREATE | ZIPARCHIVE::OVERWRITE) !== true )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue