{"action":"opened","issue":{"url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/244","repository_url":"https://api.github.com/repos/wangfupeng1988/wangEditor","labels_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/244/comments","events_url":"https://api.github.com/repos/wangfupeng1988/wangEditor/issues/244/events","html_url":"https://github.com/wangfupeng1988/wangEditor/issues/244","id":152950211,"number":244,"title":"上传不成功，接不到文件。","user":{"login":"smarttang","id":4961402,"avatar_url":"https://avatars.githubusercontent.com/u/4961402?v=3","gravatar_id":"","url":"https://api.github.com/users/smarttang","html_url":"https://github.com/smarttang","followers_url":"https://api.github.com/users/smarttang/followers","following_url":"https://api.github.com/users/smarttang/following{/other_user}","gists_url":"https://api.github.com/users/smarttang/gists{/gist_id}","starred_url":"https://api.github.com/users/smarttang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarttang/subscriptions","organizations_url":"https://api.github.com/users/smarttang/orgs","repos_url":"https://api.github.com/users/smarttang/repos","events_url":"https://api.github.com/users/smarttang/events{/privacy}","received_events_url":"https://api.github.com/users/smarttang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T07:57:53Z","updated_at":"2016-05-04T07:57:53Z","closed_at":null,"body":"php ci 框架。\r\n传上去看不到成功。\r\n也收不到文件。。。\r\n![image](https://cloud.githubusercontent.com/assets/4961402/15008153/d313b5fe-1210-11e6-87fa-914154c68bd7.png)\r\n完整代码。。。\r\n\t/**\r\n\t * 上传图片\r\n\t * @return [type] [description]\r\n\t */\r\n\tfunction upload_pic()\r\n\t{\r\n\t\tprint_r($_REQUEST);\r\n\t\t$config['upload_path'] = './assets/images/upload_files/';\r\n\t\t// $config['allowed_types'] = 'gif|jpg|png';\r\n\t\t$config['allowed_types'] = '*';\r\n\t\t$config['max_size'] = '10000000024';\r\n\t\t$this->load->library('upload', $config);\r\n\t\t$this->upload->do_upload('userfile');\r\n\t\tprint_r($this->upload->display_errors());\r\n\t\t$data =  $this->upload->data();\r\n\t\tprint_r($data);\r\n\t}"}}