test doc converison

This commit is contained in:
wlx 2013-05-09 16:36:49 +00:00
parent b9de4d435f
commit d0adb5ac53
1 changed files with 2 additions and 2 deletions

View File

@ -340,9 +340,9 @@ class ServiceController extends Zend_Controller_Action
if (preg_match("/MSIE/", $ua)) { if (preg_match("/MSIE/", $ua)) {
$dispostion = 'attachment; filename="'.urlencode($row['title']).'.doc"'; $dispostion = 'attachment; filename="'.urlencode($row['title']).'.doc"';
} else if (preg_match("/Firefox/", $ua)) { } else if (preg_match("/Firefox/", $ua)) {
$dispostion; //$dispostion;
} else { } else {
$dispostion = 'attachment; filename*="'.urlencode($row['title']).'.doc"'; //$dispostion = 'attachment; filename*="'.urlencode($row['title']).'.doc"';
} }
$content.=$xslt->transformToXML($dom); $content.=$xslt->transformToXML($dom);