git-svn-id: http://xe-core.googlecode.com/svn/trunk@1403 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-14 07:38:49 +00:00
parent fa6bfa7717
commit 43336b2b6c
2 changed files with 3 additions and 2 deletions

View file

@ -348,6 +348,7 @@
header("Cache-Control: ");
header("Pragma: ");
header("Content-Type: application/octet-stream");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Content-Length: " .(string)($file_obj->file_size));
header('Content-Disposition: attachment; filename="'.$filename.'"');