优化 代码

This commit is contained in:
LyLme 2022-03-20 01:17:55 +08:00
parent d59ffb2bcd
commit 715ac26d15
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ exit();
include_once(SYSTEM_ROOT."db.class.php"); include_once(SYSTEM_ROOT."db.class.php");
$DB=new DB($dbconfig['host'],$dbconfig['user'],$dbconfig['pwd'],$dbconfig['dbname'],$dbconfig['port']); $DB=new DB($dbconfig['host'],$dbconfig['user'],$dbconfig['pwd'],$dbconfig['dbname'],$dbconfig['port']);
$rs= $DB->query("SELECT * FROM `lylme_config`"); $rs= $DB->query("SELECT * FROM `lylme_config`");
while($row = mysqli_fetch_assoc($rs)) $conf[$row['k']]=$row['v']; while($row = $DB->fetch($rs)) $conf[$row['k']]=$row['v'];
include_once(SYSTEM_ROOT."function.php"); include_once(SYSTEM_ROOT."function.php");
include_once(SYSTEM_ROOT."member.php"); include_once(SYSTEM_ROOT."member.php");
include_once(SYSTEM_ROOT."tj.php"); include_once(SYSTEM_ROOT."tj.php");