mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正数据库配置参数prefix无效的问题
This commit is contained in:
@@ -69,8 +69,8 @@ class Model {
|
||||
list($this->dbName,$this->name) = explode('.',$this->name);
|
||||
}
|
||||
|
||||
if(isset($config['table_prefix'])) {
|
||||
$this->tablePrefix = $config['table_prefix'];
|
||||
if(isset($config['prefix'])) {
|
||||
$this->tablePrefix = $config['prefix'];
|
||||
}
|
||||
if(isset($config['connection'])) {
|
||||
$this->connection = $config['connection'];
|
||||
|
||||
Reference in New Issue
Block a user