2 Commits

Author SHA1 Message Date
yunwuxin
6ab79cc547 修正 2016-05-11 15:26:20 +08:00
yunwuxin
9bf096c29a 修正安装说明 2016-05-11 15:02:28 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
thinkphp5 验证码类库 thinkphp5 验证码类库
## 安装 ## 安装
> composer install topthink/think-captcha > composer require topthink/think-captcha
##使用 ##使用

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);
} }