From be977393decaec383eba70cb641cccbfc14d273e Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 21 Jun 2012 05:45:41 +0000 Subject: [PATCH] change output filename --- application/default/controllers/DataController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index 316235df..344b2d20 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -1140,10 +1140,10 @@ class DataController extends Zend_Controller_Action $pdf->drawWestdc(); $pdf->addRef($rows); $pdf->addSecurity($this->view->config->offline->security); - header("Content-Disposition: inline; filename=westdc-data-apply.pdf"); + header("Content-Disposition: inline; filename=qherc-data-apply.pdf"); header("Content-Type:application/pdf"); //header("Content-Length: " . strlen($pdfstring)); - echo $pdf->Output('westdc-data-apply.pdf','S'); + echo $pdf->Output('qherc-data-apply.pdf','S'); die(); //exit; } elseif ($formData['submit']) { @@ -1188,7 +1188,7 @@ class DataController extends Zend_Controller_Action $mail->send(); //跳转到/data/order,并提示帮助信息,告知用户已经发送EMAIL - $this->messenger->addMessage('提示信息:您的离线申请已经提交,系统已经发送一封邮件给您,请打印出申请表并签字后邮寄给西部数据中心服务组,具体信息请参考邮件说明。'); + $this->messenger->addMessage('提示信息:您的离线申请已经提交,系统已经发送一封邮件给您,请打印出申请表并签字后邮寄给青海湖数据中心服务组,具体信息请参考邮件说明。'); $this->_redirect('/data/order'); } }