路径为:/data/common.inc.php
<?php
//数据库连接信息
$cfg_dbhost = ‘localhost’;
$cfg_dbname = ‘root’;
$cfg_dbuser = ‘root’;
$cfg_dbpwd = ’123456′;
$cfg_dbprefix = ‘dede_’;
$cfg_db_language = ‘gbk’;
?>
<?php
//数据库连接信息
$cfg_dbhost = ‘localhost’;
$cfg_dbname = ‘root’;
$cfg_dbuser = ‘root’;
$cfg_dbpwd = ’123456′;
$cfg_dbprefix = ‘dede_’;
$cfg_db_language = ‘gbk’;
?>
本文转自 IT阿飞 51CTO博客,原文链接:http://blog.51cto.com/itafei/1835068