正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -54,7 +54,7 @@ class ImageController | @@ -54,7 +54,7 @@ class ImageController | ||
| 54 | $this->response('指定图片不存在!', Code::USER_ERROR); | 54 | $this->response('指定图片不存在!', Code::USER_ERROR); |
| 55 | } | 55 | } |
| 56 | //查看缩略图是否存在 | 56 | //查看缩略图是否存在 |
| 57 | -// $header['Content-Type'] = 'image/'.$info['type']; | 57 | + $header['Content-Type'] = 'image/'.$info['type']; |
| 58 | $filename = $this->path . $info['hash'] . $w . '_' . $h; | 58 | $filename = $this->path . $info['hash'] . $w . '_' . $h; |
| 59 | if(is_file($filename)){ | 59 | if(is_file($filename)){ |
| 60 | $last_modified_time = gmdate(time() + ((30 * 60 * 60 * 24))) . " GMT"; | 60 | $last_modified_time = gmdate(time() + ((30 * 60 * 60 * 24))) . " GMT"; |
-
请 注册 或 登录 后发表评论