forked from github/server
fix name of config variables.
This commit is contained in:
parent
48a58fc907
commit
d2356d9e4f
|
@ -91,8 +91,8 @@ void db_open(void)
|
|||
int err;
|
||||
const char *dbname;
|
||||
|
||||
g_order_batchsize = config_get_int("config.db_batch", 100);
|
||||
dbname = config_get("config.db_name");
|
||||
g_order_batchsize = config_get_int("game.dbbatch", 100);
|
||||
dbname = config_get("game.dbname");
|
||||
if (!dbname) {
|
||||
dbname = "";
|
||||
}
|
||||
|
|
|
@ -86,6 +86,8 @@ static const char * valid_keys[] = {
|
|||
"game.mailcmd",
|
||||
"game.era",
|
||||
"game.sender",
|
||||
"game.dbname",
|
||||
"game.dbbatch",
|
||||
"editor.color",
|
||||
"editor.codepage",
|
||||
"editor.population.",
|
||||
|
|
Loading…
Reference in New Issue