add some more mimetypes

This commit is contained in:
Uwe Steinmann 2020-09-17 09:13:29 +02:00
parent b9748576dc
commit 3efc584177
2 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,7 @@ text/csv
application/vnd.oasis.opendocument.text
application/msword
application/vnd.wordperfect
application/rtf
text/rtf
unoconv -d document -f pdf --stdout -v '%f' > '%o'
image/png
@ -44,10 +44,12 @@ image/jpeg
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
application/vnd.oasis.opendocument.presentation
unoconv -d presentation -f pdf --stdout -v '%f' > '%o'
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.oasis.opendocument.spreadsheet
unoconv -d spreadsheet -f pdf --stdout -v '%f' > '%o'
Conversion to png for preview images
@ -78,7 +80,7 @@ application/vnd.oasis.opendocument.text
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/rtf
text/rtf
application/vnd.ms-powerpoint
text/csv
application/vnd.wordperfect

View File

@ -194,6 +194,6 @@ else {
add_log_line("?documentid=".$documentid."&version".$version_num);
header("Location:".$nexturl);
//header("Location:".$nexturl);
?>