summaryrefslogtreecommitdiff
path: root/server/src/configuration.cc
diff options
context:
space:
mode:
authordeva <deva>2008-08-21 10:00:09 +0000
committerdeva <deva>2008-08-21 10:00:09 +0000
commit8e1f28fdd6908a852dd0d11ea868fef965b89790 (patch)
tree83046052234ef0b03818541275fd4ffb1aaf51a2 /server/src/configuration.cc
parentd3ea5701baadcdbc6df8775d88f173e52936307a (diff)
Made postgres addr, username and password configurable.
Diffstat (limited to 'server/src/configuration.cc')
-rw-r--r--server/src/configuration.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/configuration.cc b/server/src/configuration.cc
index fc2da6a..33f3256 100644
--- a/server/src/configuration.cc
+++ b/server/src/configuration.cc
@@ -38,3 +38,7 @@ time_t Conf::pentominos_max_ttl = 60 * 60 * 24;
std::string Conf::pentominos_addr = "localhost";
port_t Conf::pentominos_port = 11108;
+
+std::string Conf::database_addr = "localhost";
+std::string Conf::database_user = "pracro";
+std::string Conf::database_passwd = "pracro";