test doc converison
This commit is contained in:
parent
b9de4d435f
commit
d0adb5ac53
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue