Commit e483c869 authored by zhangkuanguang's avatar zhangkuanguang

分站读主库

parent f817d5eb
...@@ -711,7 +711,8 @@ else ...@@ -711,7 +711,8 @@ else
default: $dbback_hostname = 'wdnjesfdbslave01.house365.com';break; default: $dbback_hostname = 'wdnjesfdbslave01.house365.com';break;
} }
//从库 //从库
$db['dbback']['hostname'] = $dbback_hostname; //$db['dbback']['hostname'] = $dbback_hostname;
$db['dbback']['hostname'] = $db_hostname;
$db['dbback']['username'] = 'root'; $db['dbback']['username'] = 'root';
$db['dbback']['password'] = 'idontcare'; $db['dbback']['password'] = 'idontcare';
$db['dbback']['database'] = $db_database; $db['dbback']['database'] = $db_database;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment