mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
文件下载设置二进制
This commit is contained in:
parent
7c29da88f5
commit
75dd49857e
@ -205,7 +205,7 @@ class Qrcode
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Cache-Control: private',false);
|
||||
header('Content-Type: application/force-download');
|
||||
header('Content-Type: application/octet-stream;charset=utf-8');
|
||||
header('Content-Disposition: attachment; filename="'.$filename.'"');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Connection: close');
|
||||
|
Loading…
Reference in New Issue
Block a user