From d269216bca1e0dfe462270e3dd7c1b4dfa0431b3 Mon Sep 17 00:00:00 2001 From: tensent Date: Wed, 15 Apr 2020 18:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E7=A8=8B=E5=BA=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/install.php b/public/install.php index 605b4e3e..915cf187 100644 --- a/public/install.php +++ b/public/install.php @@ -404,7 +404,7 @@ caption h3{font-size: 16px; font-weight: bold; color: #333333;} $admin = session('admin_info'); register_administrator($db, $dbconfig['prefix'], $admin); - if (!session('error')) { + if (session('error')) { show_msg('失败'); } else { session('step_database', true);