From 99cf61076b6e82904fa5e98ca58aa44b15c48256 Mon Sep 17 00:00:00 2001 From: kindlm Date: Fri, 6 Nov 2015 14:17:57 +0100 Subject: [PATCH] Grafiken, die als Dokumente hochgeladen wurden, werden als Download angeboten --- content/akte.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/akte.php b/content/akte.php index 5b30c47b5..6153fa273 100644 --- a/content/akte.php +++ b/content/akte.php @@ -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));