getDB(), getRootDB()를 autoload 클래스로 변경
- 각각 DB::db(), RootDB::db()임.
This commit is contained in:
1 parent
bb1a496835
commit
9e1aadf486
62 files changed
+258
-269
No files matched your search
@@ -15,7 +15,7 @@ $jsonPost = WebUtil::parseJsonPost();
|
||||
$reqSequence = Util::toInt(Util::array_get($jsonPost['sequence'], 0));
|
||||
|
||||
|
||||
$nationID = getDB()->queryFirstField(
|
||||
$nationID = DB::db()->queryFirstField(
|
||||
'select `nation` from `general` where no = %i',
|
||||
$generalID
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user