From 45dc65975e7cc44bd4dd765b9280de01972f32e0 Mon Sep 17 00:00:00 2001 From: Martin Zhou <1009465756@qq.com> Date: Mon, 25 Jan 2016 16:01:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLoginController.class.php?= =?UTF-8?q?=E4=B8=AD=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 验证码无法显示的问题 issued by 王先生 --- Application/Admin/Controller/LoginController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/LoginController.class.php b/Application/Admin/Controller/LoginController.class.php index b5524f9..4df8e42 100644 --- a/Application/Admin/Controller/LoginController.class.php +++ b/Application/Admin/Controller/LoginController.class.php @@ -64,6 +64,7 @@ class LoginController extends Controller { } //验证码 public function verify(){ + ob_clean(); $Verify = new \Think\Verify(); $Verify->codeSet = '0123456789'; $Verify->fontSize = 13; @@ -80,4 +81,4 @@ class LoginController extends Controller { session('username',null); redirect(U('Login/index')); } -} \ No newline at end of file +}