废除 \think\db\Lite类

This commit is contained in:
thinkphp
2016-01-21 17:51:33 +08:00
parent c9da41dc3a
commit 400e680c6a
4 changed files with 6 additions and 552 deletions

View File

@@ -89,12 +89,11 @@ function D($name = '', $layer = MODEL_LAYER)
/**
* 实例化数据库类
* @param array $config 数据库配置参数
* @param boolean $lite 是否lite连接
* @return object
*/
function db($config = [], $lite = false)
function db($config = [])
{
return \think\Db::instance($config, $lite);
return \think\Db::instance($config);
}
/**