Fixed default database for gatewaymode
This commit is contained in:
parent
a330a15807
commit
bb8e202db9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ StorageBackend *StorageBackend::createBackend(Config *config, std::string &error
|
|||
StorageBackend *storageBackend = NULL;
|
||||
#ifdef WITH_SQLITE
|
||||
if (CONFIG_STRING(config, "database.type") == "sqlite3" ||
|
||||
(CONFIG_STRING(config, "database.type") == "none" && CONFIG_BOOL(config, "service.server_mode"))) {
|
||||
(CONFIG_STRING(config, "database.type") == "none" && !CONFIG_BOOL(config, "service.server_mode"))) {
|
||||
storageBackend = new SQLite3Backend(config);
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue