getDB(), getRootDB()를 autoload 클래스로 변경
- 각각 DB::db(), RootDB::db()임.
This commit is contained in:
@@ -57,7 +57,7 @@ function getTurnTerm($term) {
|
||||
return $str;
|
||||
}
|
||||
|
||||
$db = getDB();
|
||||
$db = DB::db();
|
||||
|
||||
$game = $db->queryFirstRow('SELECT isUnited, npcMode, year, month, scenario, maxgeneral as maxUserCnt, turnTerm from game where `no`=1');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user