getDB(), getRootDB()를 autoload 클래스로 변경
- 각각 DB::db(), RootDB::db()임.
This commit is contained in:
@@ -22,8 +22,8 @@ if(!$generalID){
|
||||
]);
|
||||
}
|
||||
|
||||
$rootDB = getRootDB();
|
||||
$db = getDB();
|
||||
$rootDB = RootDB::db();
|
||||
$db = DB::db();
|
||||
|
||||
$image = $rootDB->queryFirstRow('SELECT picture, imgsvr FROM `MEMBER` WHERE no = %i', $userID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user