正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
| @@ -83,7 +83,6 @@ class FileController | @@ -83,7 +83,6 @@ class FileController | ||
| 83 | header('Status: 206 Partial Content'); | 83 | header('Status: 206 Partial Content'); |
| 84 | header('Accept-Ranges: bytes'); | 84 | header('Accept-Ranges: bytes'); |
| 85 | header('Content-Range: bytes ' . $start . '-' . $end . '/' . $size); | 85 | header('Content-Range: bytes ' . $start . '-' . $end . '/' . $size); |
| 86 | - | ||
| 87 | // 读取部分内容并发送响应 | 86 | // 读取部分内容并发送响应 |
| 88 | $file = fopen($path, 'rb'); | 87 | $file = fopen($path, 'rb'); |
| 89 | fseek($file, $start); | 88 | fseek($file, $start); |
-
请 注册 或 登录 后发表评论