Oauth接口驱动异常抛出添加命名空间

This commit is contained in:
麦当苗儿
2013-04-16 11:20:06 +08:00
parent 20741c2376
commit 447ba097ea
16 changed files with 29 additions and 29 deletions

View File

@@ -57,7 +57,7 @@ class Github extends Driver{
$data['openid'] = $this->getOpenId();
return $data;
} else
throw new Exception("获取 Github ACCESS_TOKEN出错未知错误");
throw new \Exception("获取 Github ACCESS_TOKEN出错未知错误");
}
/**