|
From: Ulf E. <ulf...@us...> - 2005-07-20 18:48:15
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8392 Modified Files: attachment.php Log Message: Bug [ 1025785 ] Unable to open attachment. Reported by daveR, patched by rjmthezonenet. Index: attachment.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/attachment.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- attachment.php 28 May 2005 18:11:52 -0000 1.24 +++ attachment.php 20 Jul 2005 18:48:01 -0000 1.25 @@ -170,8 +170,9 @@ header("Content-Disposition: attachment; filename=\"$base\""); header("Content-Type: $mimetype"); header("Connection: close"); - header("Pragma: nocache"); - header("Expires: 0 "); +// header("Pragma: nocache"); +// header("Expires: 0 "); + header("Cache-Control: max-age=60"); @readfile($filename); exit; } |