PMC-107:Unable to import processes with extension pmx2 (granular)

This commit is contained in:
Fabio Guachalla
2018-12-06 08:34:26 -04:00
parent 0b841721a5
commit 63c9906fd5

View File

@@ -1,9 +1,9 @@
<?php <?php
/** /**
* This is a partial list of the known types, add the type you want to be recognized, * This is a partial list of the known types, add the type you want to be recognized,
* this affects the whole application globally. * this affects the whole application globally.
* *
* https://www.iana.org/assignments/media-types/media-types.xml * https://www.iana.org/assignments/media-types/media-types.xml
*/ */
return [ return [
@@ -22,7 +22,8 @@ return [
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'pm' => 'text/plain', 'pm' => 'text/plain',
'pmt' => 'text/plain', 'pmt' => 'text/plain',
'pmx' => 'application/xml', 'pmx' => ['application/xml', 'text/xml', 'text/html'],
'pmx2' => ['application/xml', 'text/xml', 'text/html'],
'po' => 'text/x-po', 'po' => 'text/x-po',
'pdf' => 'application/pdf', 'pdf' => 'application/pdf',
'png' => 'image/png', 'png' => 'image/png',