fix t.php
This commit is contained in:
parent
18c976f3e8
commit
eef34d8d9d
@ -99,7 +99,7 @@ if (!is_file ($tmpFileName.".zip"))
|
|||||||
|
|
||||||
header ("HTTP/1.0 200 OK");
|
header ("HTTP/1.0 200 OK");
|
||||||
header ("Content-Type: application/zip");
|
header ("Content-Type: application/zip");
|
||||||
header ('Content-Disposition: filename="'.$dirname.".zip\"'");
|
header ('Content-Disposition: filename="'.$dirname.'.zip"');
|
||||||
$r = fopen($tmpFileName.".zip", 'r');
|
$r = fopen($tmpFileName.".zip", 'r');
|
||||||
while (!feof ($r)) {
|
while (!feof ($r)) {
|
||||||
print fread ($r, 1024);
|
print fread ($r, 1024);
|
||||||
|
Loading…
Reference in New Issue
Block a user