partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4958bc02258386c6e143ef6af6b72858ffd82309
parent 26a6cff99e1056800648715ead3ac0d0f9d54292
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 23 Dec 2011 12:01:44 +0100

Changed inline disposition from attachment to inline to allow in-window views of part attachments

Diffstat:
Msrc/frontend/file.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/file.php b/src/frontend/file.php @@ -54,7 +54,7 @@ if ($file == null) { if (is_object($file)) { header("Content-Type: ".$file->getMimeType()); - header('Content-Disposition: attachment; filename="'.basename($file->getOriginalFilename()).'"'); + header('Content-Disposition: inline; filename="'.basename($file->getOriginalFilename()).'"'); $fp = fopen($file->getFilename(), "rb"); fpassthru($fp);