提交 4294d0a7 authored 作者: Rupa Schomaker's avatar Rupa Schomaker

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

上级 61172345
...@@ -292,7 +292,7 @@ static switch_status_t do_config() ...@@ -292,7 +292,7 @@ static switch_status_t do_config()
limit_config_dsn.pool = globals.pool; limit_config_dsn.pool = globals.pool;
if (switch_xml_config_parse_module_settings("db.conf", SWITCH_FALSE, config_settings) != SWITCH_STATUS_SUCCESS) { 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) { if (globals.odbc_dsn) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论