diff --git a/Application/Home/Controller/IndexController.class.php b/Application/Home/Controller/IndexController.class.php index f5e2133b5..f852af782 100644 --- a/Application/Home/Controller/IndexController.class.php +++ b/Application/Home/Controller/IndexController.class.php @@ -193,12 +193,12 @@ class IndexController extends HomeController public function verify($vid = '') { $config = array( - 'seKey' => 'ThinkPHP.CN', //验证码加密密钥 - 'fontSize' => 16, // 验证码字体大小(px) - 'imageH' => 42, // 验证码图片高度 - 'imageW' => 107, // 验证码图片宽度 - 'length' => 4, // 验证码位数 - 'fontttf' => '4.ttf', // 验证码字体,不设置随机获取 + 'seKey' => 'ThinkPHP.CN', // 验证码加密密钥 + 'fontSize' => 16, // 验证码字体大小(px) + 'imageH' => 42, // 验证码图片高度 + 'imageW' => 107, // 验证码图片宽度 + 'length' => 4, // 验证码位数 + 'fontttf' => '4.ttf', // 验证码字体,不设置随机获取 'useCurve' => false, ); diff --git a/ThinkPHP/Mode/Lite/functions.php b/ThinkPHP/Mode/Lite/functions.php index 7cf10acdc..c7b3e584d 100644 --- a/ThinkPHP/Mode/Lite/functions.php +++ b/ThinkPHP/Mode/Lite/functions.php @@ -1206,6 +1206,7 @@ function session($name='',$value='') { } } }else{ // 设置session + var_dump('ssss');die(); if(strpos($name,'.')){ list($name1,$name2) = explode('.',$name); if($prefix){