From 74fb7a431cb8735df8a090f6d3c3f1fafb04422a Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 24 Sep 2019 18:36:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/IndexController.class.php | 1 + ThinkPHP/Common/functions.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/IndexController.class.php b/Application/Home/Controller/IndexController.class.php index f852af782..cafa476aa 100644 --- a/Application/Home/Controller/IndexController.class.php +++ b/Application/Home/Controller/IndexController.class.php @@ -24,6 +24,7 @@ class IndexController extends HomeController //系统首页 public function index() { + var_dump($_SESSION); $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(); diff --git a/ThinkPHP/Common/functions.php b/ThinkPHP/Common/functions.php index 0f1aa10d9..417f046e0 100644 --- a/ThinkPHP/Common/functions.php +++ b/ThinkPHP/Common/functions.php @@ -1224,7 +1224,6 @@ function data_to_xml($data, $item='item', $id='id') { * @return mixed */ function session($name='',$value='') { - var_dump($name, $value); $prefix = C('SESSION_PREFIX'); if(is_array($name)) { // session初始化 在session_start 之前调用 if(isset($name['prefix'])) C('SESSION_PREFIX',$name['prefix']);