mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 21:52:34 +08:00
数据库连接配置信息调整
This commit is contained in:
@@ -83,7 +83,7 @@ class Model {
|
||||
|
||||
// 设置表前缀
|
||||
if(empty($this->tablePrefix)) {
|
||||
$this->tablePrefix = is_null($this->tablePrefix)?'':C('db_prefix');
|
||||
$this->tablePrefix = is_null($this->tablePrefix)?'':C('database.prefix');
|
||||
}
|
||||
|
||||
// 数据库初始化操作
|
||||
|
||||
Reference in New Issue
Block a user