改进Db类 traits\Query 更改为 traits\Transaction

This commit is contained in:
thinkphp
2016-01-22 12:34:18 +08:00
parent 6acd3f7551
commit ec4f187aab
7 changed files with 16 additions and 12 deletions

View File

@@ -325,7 +325,7 @@ class Loader
*/
public static function db($config = [])
{
return Db::instance($config);
return Db::connect($config);
}
/**