diff options
author | deva <deva> | 2009-08-07 11:27:18 +0000 |
---|---|---|
committer | deva <deva> | 2009-08-07 11:27:18 +0000 |
commit | d35bafeec39b6688a8dd07c51ea304e348b10fa2 (patch) | |
tree | b615a7e28f5927841feb92d0b3c2da7f6c9feafa /server/src/configurationparser.cc | |
parent | feed25360fe7b71d2ebdb523673d667e79123236 (diff) |
Added new testdb, that can be activated through the cli (-d testdb) or through the config file (database_backend = testdb) .
Diffstat (limited to 'server/src/configurationparser.cc')
-rw-r--r-- | server/src/configurationparser.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/configurationparser.cc b/server/src/configurationparser.cc index a3e7532..8247a45 100644 --- a/server/src/configurationparser.cc +++ b/server/src/configurationparser.cc @@ -105,6 +105,12 @@ void ConfigurationParser::reload() } try { + std::string a = lookup("database_backend"); + Conf::database_backend = a; + } catch( ... ) { + } + + try { std::string a = lookup("database_addr"); Conf::database_addr = a; } catch( ... ) { |