Commit d4ca3548b74e3ab9db58fb67c259ec5b0420f8d6
Merge branch 'master' of git@github.com:ktgit/knowledgetree
Showing
1 changed file
with
4 additions
and
4 deletions
plugins/pdfConverter/pdfConverter.php
| @@ -80,11 +80,11 @@ class pdfConverter extends BaseProcessor | @@ -80,11 +80,11 @@ class pdfConverter extends BaseProcessor | ||
| 80 | 80 | ||
| 81 | // taken from the original list of accepted types in the pdf generator action | 81 | // taken from the original list of accepted types in the pdf generator action |
| 82 | $mime_types = array(); | 82 | $mime_types = array(); |
| 83 | - $mime_types[] = 'text/plain'; | 83 | + //$mime_types[] = 'text/plain'; |
| 84 | + //$mime_types[] = 'text/xml'; | ||
| 85 | + //$mime_types[] = 'chemical/x-pdb'; | ||
| 86 | + //$mime_types[] = 'text/csv'; | ||
| 84 | $mime_types[] = 'text/rtf'; | 87 | $mime_types[] = 'text/rtf'; |
| 85 | - $mime_types[] = 'text/xml'; | ||
| 86 | - $mime_types[] = 'text/csv'; | ||
| 87 | - $mime_types[] = 'chemical/x-pdb'; | ||
| 88 | $mime_types[] = 'application/msword'; | 88 | $mime_types[] = 'application/msword'; |
| 89 | $mime_types[] = 'application/vnd.ms-powerpoint'; | 89 | $mime_types[] = 'application/vnd.ms-powerpoint'; |
| 90 | $mime_types[] = 'application/vnd.ms-excel'; | 90 | $mime_types[] = 'application/vnd.ms-excel'; |