正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -69,7 +69,9 @@ class ImageController | @@ -69,7 +69,9 @@ class ImageController | ||
| 69 | $content = file_get_contents($filename); | 69 | $content = file_get_contents($filename); |
| 70 | $header['Content-Length'] = strlen($content); | 70 | $header['Content-Length'] = strlen($content); |
| 71 | }else{ | 71 | }else{ |
| 72 | - $path = $info['path']; | 72 | + $path = $this->path.$info['path']; |
| 73 | + var_dump($path); | ||
| 74 | + die(); | ||
| 73 | if (!is_file($path)) { | 75 | if (!is_file($path)) { |
| 74 | $this->response('指定图片已被系统删除!', Code::USER_ERROR); | 76 | $this->response('指定图片已被系统删除!', Code::USER_ERROR); |
| 75 | } | 77 | } |
-
请 注册 或 登录 后发表评论