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;
|
int err;
|
||||||
const char *dbname;
|
const char *dbname;
|
||||||
|
|
||||||
g_order_batchsize = config_get_int("config.db_batch", 100);
|
g_order_batchsize = config_get_int("game.dbbatch", 100);
|
||||||
dbname = config_get("config.db_name");
|
dbname = config_get("game.dbname");
|
||||||
if (!dbname) {
|
if (!dbname) {
|
||||||
dbname = "";
|
dbname = "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,6 +86,8 @@ static const char * valid_keys[] = {
|
||||||
"game.mailcmd",
|
"game.mailcmd",
|
||||||
"game.era",
|
"game.era",
|
||||||
"game.sender",
|
"game.sender",
|
||||||
|
"game.dbname",
|
||||||
|
"game.dbbatch",
|
||||||
"editor.color",
|
"editor.color",
|
||||||
"editor.codepage",
|
"editor.codepage",
|
||||||
"editor.population.",
|
"editor.population.",
|
||||||
|
|
Loading…
Reference in New Issue