"added application/xml as alias for text/xml"

This commit is contained in:
Ralf Becker 2009-11-03 11:05:09 +00:00
parent 90f91bc9c7
commit 1052fffbba

View File

@ -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/')
{