From 1052fffbba03d8bda59d690c281f2ab97a6db436 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 Nov 2009 11:05:09 +0000 Subject: [PATCH] "added application/xml as alias for text/xml" --- etemplate/inc/class.bo_merge.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index c832072268..c02311c20c 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -104,6 +104,8 @@ abstract class bo_merge case 'application/vnd.openxmlformats-officedocument.spreadsheetml.shee': if (!$zip_available) break; return true; // ms word xml format + case 'application/xml': + return true; // alias for text/xml, eg. ms office 2003 word format default: if (substr($mimetype,0,5) == 'text/') {