Commit fa76dfdf by 牛晓林

add db for remote

parent 010b57a2
...@@ -22,10 +22,10 @@ $currenthost = "http://".$_SERVER['HTTP_HOST']; ...@@ -22,10 +22,10 @@ $currenthost = "http://".$_SERVER['HTTP_HOST'];
/** WordPress数据库的名称 */ /** WordPress数据库的名称 */
if($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']== "192.168.19.208" || $_SERVER['HTTP_HOST']=="192.168.19.226"){ if($_SERVER['HTTP_HOST']=="localhost" || $_SERVER['HTTP_HOST']== "192.168.19.208" || $_SERVER['HTTP_HOST']=="192.168.19.226"){
define('DB_NAME', 'wordpress'); define('DB_NAME', 'zhongcha');
define('DB_USER', 'root'); define('DB_USER', 'root');
define('DB_PASSWORD', ''); define('DB_PASSWORD', 'root');
define('DB_HOST', 'localhost'); define('DB_HOST', '192.168.19.173');
}else{ }else{
define('DB_NAME', 'bdm267988102_db'); define('DB_NAME', 'bdm267988102_db');
/** MySQL数据库用户名 */ /** MySQL数据库用户名 */
......
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