Browse Source

优化上传图片错误提示

star7th 10 years ago
parent
commit
441a86e239
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Application/Home/Controller/PageController.class.php

+ 0 - 1
Application/Home/Controller/PageController.class.php

@@ -159,7 +159,6 @@ class PageController extends BaseController {
         $info = $upload->upload() ;
         if(!$info) {// 上传错误提示错误信息
           $this->error($upload->getError());
-          $this->sendError(10101);
           return;
         }else{// 上传成功 获取上传文件信息