From d0adb5ac5397813e16fcef57a450a03cfd3ecdc8 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 9 May 2013 16:36:49 +0000 Subject: [PATCH] test doc converison --- application/default/controllers/ServiceController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index a348c236..2dffa930 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -340,9 +340,9 @@ class ServiceController extends Zend_Controller_Action if (preg_match("/MSIE/", $ua)) { $dispostion = 'attachment; filename="'.urlencode($row['title']).'.doc"'; } else if (preg_match("/Firefox/", $ua)) { - $dispostion; + //$dispostion; } else { - $dispostion = 'attachment; filename*="'.urlencode($row['title']).'.doc"'; + //$dispostion = 'attachment; filename*="'.urlencode($row['title']).'.doc"'; } $content.=$xslt->transformToXML($dom);