partkeepr

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

commit 8c6ed0c11c949188bf1699b463bacfd35b873951
parent 2ea408e64d2d4a862d659b308db7fa4c14fd367f
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 25 Nov 2011 07:50:09 +0100

Fix for bug #108

Diffstat:
Mfrontend/file.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

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