作者 lyh

gx

@@ -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 }