优化 代码
This commit is contained in:
parent
d59ffb2bcd
commit
715ac26d15
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue