diff --git a/web/handle_zip.php b/web/handle_zip.php index a9ea32e..26261c7 100644 --- a/web/handle_zip.php +++ b/web/handle_zip.php @@ -21,6 +21,7 @@ if (!$mime = $types[pathinfo($stat['name'],PATHINFO_EXTENSION)]) { $mime = "text/plain"; } +header("Content-Disposition: inline; filename=".$stat['name']); header("Content-Type: ".$mime); header("Content-Length: ".$stat['size']); echo $zip->getFromIndex(0);