From fe97fb561a68aa1fc851572a0ab1833146b3b04f Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 24 Sep 2019 18:34:08 +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 --- ThinkPHP/Common/functions.php | 1 + ThinkPHP/Mode/Lite/functions.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ThinkPHP/Common/functions.php b/ThinkPHP/Common/functions.php index 417f046e0..0f1aa10d9 100644 --- a/ThinkPHP/Common/functions.php +++ b/ThinkPHP/Common/functions.php @@ -1224,6 +1224,7 @@ 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']); diff --git a/ThinkPHP/Mode/Lite/functions.php b/ThinkPHP/Mode/Lite/functions.php index f767ef5c9..7cf10acdc 100644 --- a/ThinkPHP/Mode/Lite/functions.php +++ b/ThinkPHP/Mode/Lite/functions.php @@ -1111,7 +1111,6 @@ function to_guid_string($mix) { * @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']);