代码:
config("database")但是却输出了所有数据库配置信息Array
(
[type] => mysql
[dsn] =>
[hostname] => localhost
[databa
[username] => root
[password] => root
[hostport] => 3306
[params] => Array
(
)
[charset] => utf8
[prefix] =>
[debug] => 1
[deploy] => 0
[rw_separate] =>
[master_num] => 1
[slave_no] =>
[fields_strict] => 1
[auto_timestamp] =>
[resultset_type] => array
[sql_explain] =>
)
请问是该怎么解决?
最佳答案