From 0fc75d13f55f7e90761ed61dbd06405471cdf231 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 27 Sep 2013 08:10:03 +0000 Subject: [PATCH] set no time limit --- application/admin/controllers/DownController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/DownController.php b/application/admin/controllers/DownController.php index c153ee28..9adec5ad 100644 --- a/application/admin/controllers/DownController.php +++ b/application/admin/controllers/DownController.php @@ -169,7 +169,8 @@ class Admin_DownController extends Zend_Controller_Action //离线数据申请管理 function offlineappAction() - { + { + set_time_limit(0); include_once("Dataorder.php"); $DO = new Dataorder($this->db); @@ -223,7 +224,7 @@ class Admin_DownController extends Zend_Controller_Action $sql="select applicationform as pdflink from offlineapp where id=?"; $row=$this->db->fetchRow($sql,array($start)); - $filecontent=file_get_contents($row['pdflink']); + $filecontent=file_get_contents($row['pdflink']); //对每条数据的管理员用户发送相应的邮件通知,同一用户的邮件需要合并 //需要取出对应数据的标题、uuid,以及对应的作者的email(一条数据可能有多个作者,一次申请可能有多条数据对应同一个作者)