$config['hostname'] = config_item('database_ip');
$config['username'] = config_item('database_username');
$config['password'] = config_item('database_password');
$config['database'] = config_item('database_name');
$config['dbdriver'] = "mysql";
$config['pconnect'] = false;
$this->new_db=$this->load->database($config,true);
[文章作者]曾健生
[作者邮箱]zengjiansheng1@126.com
[作者QQ]190678908
[博客] http://blog.csdn.net/newjueqi
http://blog.sina.com.cn/h6k65
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)