|
|
|
@ -24,10 +24,6 @@ class IndexController extends HomeController
|
|
|
|
|
//系统首页
|
|
|
|
|
public function index()
|
|
|
|
|
{
|
|
|
|
|
var_dump($_SESSION);
|
|
|
|
|
session('stest', 'ssb');
|
|
|
|
|
var_dump($_SESSION);
|
|
|
|
|
die();
|
|
|
|
|
$map['game_status'] = 1;
|
|
|
|
|
$map['recommend_status'] = 1;
|
|
|
|
|
$rec_data = M('Game', "tab_")->where($map)->group('relation_game_id')->order('id DESC')->limit(36)->select();
|
|
|
|
@ -197,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,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|