...
|
...
|
@@ -599,7 +599,7 @@ class AdminCommonController extends AdminBaseController |
|
|
header("Content-Description: File Transfer");
|
|
|
header('Content-disposition: attachment; filename='.basename($zipName)); //文件名
|
|
|
header("Content-Type: application/zip"); //zip格式的
|
|
|
header("Content-Transfer-Encoding: Binary"); //告诉浏览器,这是二进制文件
|
|
|
// header("Content-Transfer-Encoding: Binary"); //告诉浏览器,这是二进制文件
|
|
|
header('Content-Length: '. filesize($zipName)); //告诉浏览器,文件大小
|
|
|
var_dump(2222);exit;
|
|
|
ob_clean();//清楚缓存
|
...
|
...
|
|