修正oauth类 添加public文件

This commit is contained in:
thinkphp
2015-12-16 08:30:42 +08:00
parent 2755f8d353
commit a8f6c75042

View File

@@ -36,7 +36,7 @@ class Oauth
*/
public static function connect($type, $options = [])
{
$class = 'think\\oauth\\driver\\' . strtolower($type);
$class = '\\org\\oauth\\driver\\' . strtolower($type);
self::$handler = new $class($options);
return self::$handler;
}