Grafiken, die als Dokumente hochgeladen wurden, werden als Download angeboten

This commit is contained in:
kindlm
2015-11-06 14:17:57 +01:00
parent be793a549c
commit 99cf61076b
+1 -1
View File
@@ -97,7 +97,7 @@ function OutputData($akte)
if($dms->mimetype=='')
$dms->mimetype='application/octetstream';
header('Content-type: '.$dms->mimetype);
header('Content-type: application/octetstream');
header('Content-Disposition: inline; filename="'.$dms->name.'"');
header('Content-Length: ' .filesize($filename));