mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修改getDriverName方法
This commit is contained in:
@@ -284,7 +284,7 @@ abstract class Connection
|
|||||||
if ($this->linkID) {
|
if ($this->linkID) {
|
||||||
return $this->linkID->getAttribute(PDO::ATTR_DRIVER_NAME);
|
return $this->linkID->getAttribute(PDO::ATTR_DRIVER_NAME);
|
||||||
} else {
|
} else {
|
||||||
return basename(str_replace('\\', '/', $this->config['type']));
|
return $this->config['type'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user