From 62ea6d2fa8100eca53995f0f050d8e5cc44f3332 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Wed, 18 Feb 2004 20:35:14 +0000 Subject: [PATCH] Initial changes for db --- admin-root/config.html | 4 ++++ src/main.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/admin-root/config.html b/admin-root/config.html index 12aae780..76c46155 100644 --- a/admin-root/config.html +++ b/admin-root/config.html @@ -24,6 +24,10 @@ take effect. MP3 Dir + + Database Dir + + Port diff --git a/src/main.c b/src/main.c index b9301f55..0ba7a25a 100644 --- a/src/main.c +++ b/src/main.c @@ -473,7 +473,7 @@ int main(int argc, char *argv[]) { DPRINTF(ERR_DEBUG,"Initializing database\n"); /* Initialize the database before starting */ - if(db_init("none")) { + if(db_init(config.dbdir)) { perror("db_init"); exit(EXIT_FAILURE); }