forked from mirrors/linphone-iphone
add log
This commit is contained in:
parent
d3486aa40a
commit
84ef68ebc1
1 changed files with 2 additions and 0 deletions
|
|
@ -46,11 +46,13 @@ Core::Core (LinphoneCore *cCore) : Object(*new CorePrivate) {
|
|||
strcmp(lp_config_get_string(linphone_core_get_config(d->cCore), "server", "db_backend", NULL), "mysql") == 0
|
||||
? MainDb::Mysql
|
||||
: MainDb::Sqlite3;
|
||||
lInfo << "Creating linphone.db at : " << uri;
|
||||
d->mainDb.connect(backend, uri);
|
||||
return;
|
||||
}
|
||||
|
||||
static string path = getDataPath() + "/linphone.db";
|
||||
lInfo << "Creating linphone.db at : " << path;
|
||||
d->mainDb.connect(MainDb::Sqlite3, path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue