瀏覽代碼

Update ExportController.class.php

star7th 7 年之前
父節點
當前提交
011beec702
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      server/Application/Api/Controller/ExportController.class.php

+ 3 - 1
server/Application/Api/Controller/ExportController.class.php

@@ -5,6 +5,8 @@ class ExportController extends BaseController {
 
     //导出整个项目为word
     public function word(){
+    	set_time_limit(1000);
+    	ini_set('memory_limit','800M'); 
         import("Vendor.Parsedown.Parsedown");
         $Parsedown = new \Parsedown();
         $item_id =  I("item_id/d");
@@ -193,4 +195,4 @@ class ExportController extends BaseController {
         output_word($data,$page['page_title']);
     }
 
-}
+}