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