{"action":"created","issue":{"url":"https://api.github.com/repos/top-think/think/issues/108","labels_url":"https://api.github.com/repos/top-think/think/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/top-think/think/issues/108/comments","events_url":"https://api.github.com/repos/top-think/think/issues/108/events","html_url":"https://github.com/top-think/think/issues/108","id":123124720,"number":108,"title":"think/view.php中的config函数是不是写错了呀？","user":{"login":"gthanks","id":602632,"avatar_url":"https://avatars.githubusercontent.com/u/602632?v=3","gravatar_id":"","url":"https://api.github.com/users/gthanks","html_url":"https://github.com/gthanks","followers_url":"https://api.github.com/users/gthanks/followers","following_url":"https://api.github.com/users/gthanks/following{/other_user}","gists_url":"https://api.github.com/users/gthanks/gists{/gist_id}","starred_url":"https://api.github.com/users/gthanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gthanks/subscriptions","organizations_url":"https://api.github.com/users/gthanks/orgs","repos_url":"https://api.github.com/users/gthanks/repos","events_url":"https://api.github.com/users/gthanks/events{/privacy}","received_events_url":"https://api.github.com/users/gthanks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-20T01:39:12Z","updated_at":"2015-12-20T02:20:12Z","closed_at":null,"body":"##### //think/view.php==========================\r\n\r\n```php\r\n public function config($config = '', $value = '')\r\n    {\r\n        if (is_array($config)) {\r\n            foreach ($this->config as $key => $val) {\r\n                if (isset($config[$key])) {\r\n                    $this->config[$key] = $config[$key];\r\n                }\r\n            }\r\n        } else {\r\n            $this->config[$config] = $value;\r\n        }\r\n        return $this;\r\n    }\r\n```\r\n其中的\r\n##### foreach ($this->config as $key => $val) { ......  }\r\n是不是应该更改为\r\n##### foreach ($config as $key => $val) { ......    }\r\n请检查！！！"},"comment":{"url":"https://api.github.com/repos/top-think/think/issues/comments/166056114","html_url":"https://github.com/top-think/think/issues/108#issuecomment-166056114","issue_url":"https://api.github.com/repos/top-think/think/issues/108","id":166056114,"user":{"login":"gthanks","id":602632,"avatar_url":"https://avatars.githubusercontent.com/u/602632?v=3","gravatar_id":"","url":"https://api.github.com/users/gthanks","html_url":"https://github.com/gthanks","followers_url":"https://api.github.com/users/gthanks/followers","following_url":"https://api.github.com/users/gthanks/following{/other_user}","gists_url":"https://api.github.com/users/gthanks/gists{/gist_id}","starred_url":"https://api.github.com/users/gthanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gthanks/subscriptions","organizations_url":"https://api.github.com/users/gthanks/orgs","repos_url":"https://api.github.com/users/gthanks/repos","events_url":"https://api.github.com/users/gthanks/events{/privacy}","received_events_url":"https://api.github.com/users/gthanks/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T02:20:12Z","updated_at":"2015-12-20T02:20:12Z","body":"明白了！"}}