|
...
|
...
|
@@ -96,7 +96,6 @@ class FileManageController extends BaseController |
|
|
|
header('Content-Type: application/octet-stream');
|
|
|
|
header('Content-Disposition: attachment; filename="' . $username . '"');
|
|
|
|
header('Content-Length: ' . strlen($fileContent));
|
|
|
|
|
|
|
|
// 输出文件内容
|
|
|
|
echo $fileContent;
|
|
|
|
exit;
|
...
|
...
|
|