From ce4047864fbcdeac52dca05319da75941771c985 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 4 Nov 2011 10:11:53 +0000 Subject: [PATCH] =?UTF-8?q?odt=E5=A2=9E=E5=8A=A0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/ServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index de0324b5..d02f88f7 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -578,7 +578,7 @@ class ServiceController extends Zend_Controller_Action @$odf->setVars('east',$row['east'],true,'utf-8'); $odf->setImage('bigthumb', 'http://test.westgis.ac.cn/service/bigthumb/uuid/'.$row['uuid']); $odf->setImage('thumb', 'http://test.westgis.ac.cn/service/thumb/uuid/'.$row['uuid']); - $odf->exportAsAttachedFile(); + $odf->exportAsAttachedFile($row['title'].'.odt'); } }