summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-12-02 22:00:37 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-12-02 22:00:37 +0000
commit649707be73a83190a818640438c4bb60569c3663 (patch)
tree97d25e645e5243dca8765d9c46fd328112aacc3a /src/main.cpp
parent73495c824375268df060e792a44a631443268b98 (diff)
downloadmanaserv-649707be73a83190a818640438c4bb60569c3663.tar.gz
manaserv-649707be73a83190a818640438c4bb60569c3663.tar.bz2
manaserv-649707be73a83190a818640438c4bb60569c3663.tar.xz
manaserv-649707be73a83190a818640438c4bb60569c3663.zip
Enabled registering under SQLite by reopening th db in the accounthandler. Should work the same way with the other handlers when inserting removing, altering in the database.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1909d057..f197b14c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -168,7 +168,7 @@ void initialize()
config.setValue("dbhost", "");
#ifdef WIN32
- std::string configPath = "";
+ std::string configPath = ".";
#else
std::string configPath = getenv("HOME");
#endif