正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -56,7 +56,7 @@ class FileController | @@ -56,7 +56,7 @@ class FileController | ||
| 56 | if ($info === false) { | 56 | if ($info === false) { |
| 57 | $this->response('指定文件不存在!', Code::USER_ERROR); | 57 | $this->response('指定文件不存在!', Code::USER_ERROR); |
| 58 | } | 58 | } |
| 59 | - $path = $info['path']; | 59 | + $path = $this->path.$info['path']; |
| 60 | if (!is_file($path)) { | 60 | if (!is_file($path)) { |
| 61 | $this->response('指定文件已被系统删除!', Code::USER_ERROR); | 61 | $this->response('指定文件已被系统删除!', Code::USER_ERROR); |
| 62 | } | 62 | } |
-
请 注册 或 登录 后发表评论