From 860c85bda2b83788b5c56278397c7c447346e469 Mon Sep 17 00:00:00 2001 From: uuling Date: Tue, 18 Jul 2017 15:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E7=94=9F=E6=88=90session=5Fid=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将私有方法修改为公有方法 --- library/think/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Session.php b/library/think/Session.php index d5a6a5a5..5fcc413c 100644 --- a/library/think/Session.php +++ b/library/think/Session.php @@ -347,7 +347,7 @@ class Session * @param bool $delete 是否删除关联会话文件 * @return void */ - private static function regenerate($delete = false) + public static function regenerate($delete = false) { session_regenerate_id($delete); }