作者 lyh

gx

@@ -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;