Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv797/phpwiki/lib
Modified Files:
Tag: release-1_2-branch
ziplib.php
Log Message:
sf #482938 Content-Disposition parameter
Index: ziplib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/ziplib.php,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -C2 -r1.2.2.3 -r1.2.2.4
*** ziplib.php 2001/11/07 20:32:24 1.2.2.3
--- ziplib.php 2001/12/12 05:12:06 1.2.2.4
***************
*** 241,245 ****
$zipname = addslashes($zipname);
header("Content-Type: application/zip; name=\"$zipname\"");
! header("Content-Disposition: save; filename=\"$zipname\"");
}
--- 241,245 ----
$zipname = addslashes($zipname);
header("Content-Type: application/zip; name=\"$zipname\"");
! header("Content-Disposition: attachment; filename=\"$zipname\"");
}
|