正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -96,7 +96,6 @@ class FileManageController extends BaseController | @@ -96,7 +96,6 @@ class FileManageController extends BaseController | ||
| 96 | header('Content-Type: application/octet-stream'); | 96 | header('Content-Type: application/octet-stream'); |
| 97 | header('Content-Disposition: attachment; filename="' . $username . '"'); | 97 | header('Content-Disposition: attachment; filename="' . $username . '"'); |
| 98 | header('Content-Length: ' . strlen($fileContent)); | 98 | header('Content-Length: ' . strlen($fileContent)); |
| 99 | - | ||
| 100 | // 输出文件内容 | 99 | // 输出文件内容 |
| 101 | echo $fileContent; | 100 | echo $fileContent; |
| 102 | exit; | 101 | exit; |
-
请 注册 或 登录 后发表评论