forked from extern/egroupware
possible fix for NT d/l of header.inc.php file
This commit is contained in:
parent
6bea3d58d4
commit
5bc54345f3
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
switch($action){
|
switch($action){
|
||||||
case "download":
|
case "download":
|
||||||
header("Content-disposition: attachment; filename=header.inc.php");
|
header("Content-disposition: attachment; filename=\"header.inc.php\"");
|
||||||
header("Content-type: application/octet-stream");
|
header("Content-type: application/octet-stream");
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
header("Expires: 0");
|
header("Expires: 0");
|
||||||
@ -204,4 +204,4 @@
|
|||||||
echo "</body>";
|
echo "</body>";
|
||||||
echo "</html>";
|
echo "</html>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user