Make database location a configuration item

This commit is contained in:
Dustin King
2010-03-21 11:33:05 +01:00
committed by Julien BLACHE
parent 6c6a3a7935
commit e6d75534d7
3 changed files with 8 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ static cfg_opt_t sec_general[] =
CFG_STR("uid", "nobody", CFGF_NONE),
CFG_STR("admin_password", NULL, CFGF_NONE),
CFG_STR("logfile", STATEDIR "/log/" PACKAGE ".log", CFGF_NONE),
CFG_STR("db_path", STATEDIR "/cache/" PACKAGE "/songs3.db", CFGF_NONE),
CFG_INT_CB("loglevel", E_LOG, CFGF_NONE, &cb_loglevel),
CFG_END()
};