diff options
author | deva <deva> | 2008-08-21 10:00:09 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-21 10:00:09 +0000 |
commit | 8e1f28fdd6908a852dd0d11ea868fef965b89790 (patch) | |
tree | 83046052234ef0b03818541275fd4ffb1aaf51a2 /server/src/database.h | |
parent | d3ea5701baadcdbc6df8775d88f173e52936307a (diff) |
Made postgres addr, username and password configurable.
Diffstat (limited to 'server/src/database.h')
-rw-r--r-- | server/src/database.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/database.h b/server/src/database.h index c15aca5..332907f 100644 --- a/server/src/database.h +++ b/server/src/database.h @@ -50,9 +50,9 @@ typedef std::vector< std::string > Fieldnames; class Database { public: - Database(std::string hostname = "localhost", - std::string user = "pracro", - std::string password = "pracro"); + Database(std::string hostname, + std::string user, + std::string password); ~Database(); // Make a commit to the db |