This commit is contained in:
yunwuxin
2016-05-11 15:26:20 +08:00
parent 9bf096c29a
commit 6ab79cc547

View File

@@ -24,7 +24,7 @@
*/ */
function captcha($id = "", $config = []) function captcha($id = "", $config = [])
{ {
$captcha = new \think\Captcha($config); $captcha = new \think\captcha\Captcha($config);
$captcha->entry($id); $captcha->entry($id);
} }