规范调整

This commit is contained in:
thinkphp
2015-10-04 22:48:57 +08:00
parent 3b21161c0a
commit c14da999a6
10 changed files with 46 additions and 30 deletions

View File

@@ -16,9 +16,10 @@ namespace think;
*/
class Db
{
private static $instance = []; // 数据库连接实例
private static $_instance = null; // 当前数据库连接实例
// 数据库连接实例
private static $instance = [];
// 当前数据库连接实例
private static $_instance = null;
/**
* 取得数据库类实例