From 90f64245b3c07a6013bad5ebd5430054c5bc6acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=85=BE=E9=80=9F=E7=A7=91=E6=8A=80?= Date: Wed, 22 Jul 2020 17:19:11 +0800 Subject: [PATCH] =?UTF-8?q?update=20public/install.php.=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=96=87=E4=BB=B6=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/install.php b/public/install.php index b2b79bf2..fbbb6ee0 100644 --- a/public/install.php +++ b/public/install.php @@ -676,11 +676,11 @@ function show_msg($msg, $class = 'primary'){ ob_flush(); } -function session($name, $value = false){ +function session($name, $value = ''){ if ($name == '') { return false; } - if (false !== $value) { + if ('' !== $value) { $_SESSION[$name] = $value; }else{ return isset($_SESSION[$name]) ? $_SESSION[$name] : false;