mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-19 08:01:39 +00:00
add some more mimetypes
This commit is contained in:
parent
b9748576dc
commit
3efc584177
|
@ -34,7 +34,7 @@ text/csv
|
||||||
application/vnd.oasis.opendocument.text
|
application/vnd.oasis.opendocument.text
|
||||||
application/msword
|
application/msword
|
||||||
application/vnd.wordperfect
|
application/vnd.wordperfect
|
||||||
application/rtf
|
text/rtf
|
||||||
unoconv -d document -f pdf --stdout -v '%f' > '%o'
|
unoconv -d document -f pdf --stdout -v '%f' > '%o'
|
||||||
|
|
||||||
image/png
|
image/png
|
||||||
|
@ -44,10 +44,12 @@ image/jpeg
|
||||||
|
|
||||||
application/vnd.ms-powerpoint
|
application/vnd.ms-powerpoint
|
||||||
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||||
|
application/vnd.oasis.opendocument.presentation
|
||||||
unoconv -d presentation -f pdf --stdout -v '%f' > '%o'
|
unoconv -d presentation -f pdf --stdout -v '%f' > '%o'
|
||||||
|
|
||||||
application/vnd.ms-excel
|
application/vnd.ms-excel
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||||
|
application/vnd.oasis.opendocument.spreadsheet
|
||||||
unoconv -d spreadsheet -f pdf --stdout -v '%f' > '%o'
|
unoconv -d spreadsheet -f pdf --stdout -v '%f' > '%o'
|
||||||
|
|
||||||
Conversion to png for preview images
|
Conversion to png for preview images
|
||||||
|
@ -78,7 +80,7 @@ application/vnd.oasis.opendocument.text
|
||||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||||
application/vnd.ms-excel
|
application/vnd.ms-excel
|
||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||||
application/rtf
|
text/rtf
|
||||||
application/vnd.ms-powerpoint
|
application/vnd.ms-powerpoint
|
||||||
text/csv
|
text/csv
|
||||||
application/vnd.wordperfect
|
application/vnd.wordperfect
|
||||||
|
|
|
@ -194,6 +194,6 @@ else {
|
||||||
|
|
||||||
add_log_line("?documentid=".$documentid."&version".$version_num);
|
add_log_line("?documentid=".$documentid."&version".$version_num);
|
||||||
|
|
||||||
header("Location:".$nexturl);
|
//header("Location:".$nexturl);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user