mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
Fix for mysql_get_server_info() - database connect failed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9372 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
12ca869ccd
commit
a4ab618883
2 changed files with 3 additions and 3 deletions
|
|
@ -739,7 +739,7 @@
|
|||
&& $db_info->master_db["db_password"] == $db_info->slave_db[0]["db_password"]
|
||||
&& $db_info->master_db["db_database"] == $db_info->slave_db[0]["db_database"]
|
||||
)
|
||||
$this->slave_db = &$this->master_db;
|
||||
$this->slave_db[0] = &$this->master_db;
|
||||
else
|
||||
$this->slave_db = $db_info->slave_db;
|
||||
$this->prefix = $db_info->master_db["db_table_prefix"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue