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']);