if missing db.conf.xml don't fail, just use sqlite

This commit is contained in:
Rupa Schomaker 2010-07-02 00:03:13 -05:00
parent 6117234549
commit 4294d0a79d
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ static switch_status_t do_config()
limit_config_dsn.pool = globals.pool;
if (switch_xml_config_parse_module_settings("db.conf", SWITCH_FALSE, config_settings) != SWITCH_STATUS_SUCCESS) {
return SWITCH_STATUS_TERM;
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "No config file found, defaulting to sqlite\n", DB_USAGE);
}
if (globals.odbc_dsn) {