mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正Oracle驱动
This commit is contained in:
@@ -70,7 +70,7 @@ class Db
|
||||
// 解析连接参数 支持数组和字符串
|
||||
$options = self::parseConfig($config);
|
||||
if (empty($options['type'])) {
|
||||
throw new Exception('db type error');
|
||||
throw new \InvalidArgumentException('db type error');
|
||||
}
|
||||
$class = (!empty($options['namespace']) ? $options['namespace'] : '\\think\\db\\connector\\') . ucwords($options['type']);
|
||||
// 记录初始化信息
|
||||
|
||||
Reference in New Issue
Block a user