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 1/3] =?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; From 8dc083c2c29f03773464f0252e5f455dda6974ef 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 18:14:37 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/admin/user/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/admin/user/index.html b/view/admin/user/index.html index 7966d685..99bdb116 100644 --- a/view/admin/user/index.html +++ b/view/admin/user/index.html @@ -68,9 +68,9 @@ {/if} - 编辑 - 授权 - 删除 + 编辑 + 授权 + 删除 {/volist} From 955eeb651ba57bf12a660e5ed53a5dbd3098186b Mon Sep 17 00:00:00 2001 From: molong Date: Wed, 22 Jul 2020 18:27:04 +0800 Subject: [PATCH 3/3] update --- runtime/sql/install.sql | 0 vendor/.gitignore | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 runtime/sql/install.sql diff --git a/runtime/sql/install.sql b/runtime/sql/install.sql old mode 100644 new mode 100755 diff --git a/vendor/.gitignore b/vendor/.gitignore index c96a04f0..a3a0c8b5 100755 --- a/vendor/.gitignore +++ b/vendor/.gitignore @@ -1,2 +1,2 @@ -* +* !.gitignore \ No newline at end of file