From 02eb4a266702e26b0afc93e6941fa4c64aa34ce0 Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Sun, 12 Jun 2016 10:42:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B7=AF=E7=94=B1=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper.php b/src/helper.php index 555077c..4cd7ca2 100644 --- a/src/helper.php +++ b/src/helper.php @@ -9,7 +9,7 @@ // | Author: yunwuxin <448901948@qq.com> // +---------------------------------------------------------------------- -\think\Route::get('captcha/[:id]', ["\\think\\captcha\\CaptchaController", 'index']); +\think\Route::get('captcha/[:id]', "\\think\\captcha\\CaptchaController@index"); \think\Validate::extend('captcha', function ($value, $id = "") { return captcha_check($value, $id, (array)\think\Config::get('captcha'));