This commit is contained in:
yunwuxin
2016-06-30 10:29:42 +08:00
parent 02eb4a2667
commit 5743f68647
3 changed files with 55 additions and 39 deletions

View File

@@ -17,6 +17,7 @@ class CaptchaController
{
public function index($id = "")
{
captcha($id, (array)Config::get('captcha'));
$captcha = new Captcha((array)Config::get('captcha'));
return $captcha->entry($id);
}
}