getDB(), getRootDB()를 autoload 클래스로 변경
- 각각 DB::db(), RootDB::db()임.
This commit is contained in:
@@ -33,7 +33,7 @@ if(!AppConf::getRoot()->isExists()){
|
||||
}
|
||||
|
||||
require(__DIR__.'/../f_config/DB.php');
|
||||
$rootDB = getRootDB();
|
||||
$rootDB = RootDB::db();
|
||||
|
||||
//초기 관리자 계정은 딱 하나만 있어야하므로, 중요함.
|
||||
$rootDB->query('LOCK TABLES member WRITE, member_log WRITE');
|
||||
|
||||
Reference in New Issue
Block a user