From ea7b5f14624e136e07e2ec87deb7169f58b3a64f Mon Sep 17 00:00:00 2001 From: zyx0814 Date: Sat, 11 Dec 2021 11:13:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=89=E8=A3=85=E6=97=B6?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index 76437f4..dfa6b6f 100644 --- a/install/index.php +++ b/install/index.php @@ -411,7 +411,7 @@ elseif($method == 'admin_init') { $tablepre = $_config['db'][1]['tablepre']; $db->connect($dbhost, $dbuser, $dbpw, $dbname, DBCHARSET); $db->query("REPLACE INTO {$tablepre}user (uid, username,nickname, password, adminid, groupid, email, regdate,salt,authstr) VALUES ('$uid', '$username', '$nickname','$password', '1', '1', '$email', '".time()."','$salt','');"); - $db->query("update {$tablepre}folder set `uid`=$uid,`username`='$username' where `fid` = 1"); + //$db->query("update {$tablepre}folder set `uid`=$uid,`username`='$username' where `fid` = 1"); $db->query("REPLACE INTO {$tablepre}user_status (uid, regip,lastip, lastvisit, lastactivity, lastsendmail, invisible, profileprogress) VALUES ('$uid', '', '','$timestamp', '$timestamp', '0', '0', '0');"); $query = $db->query("SELECT COUNT(*) FROM {$tablepre}user"); $totalmembers = $db->result($query, 0);