summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ledger-smb.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/ledger-smb.conf b/ledger-smb.conf
index 0589278c..07a657db 100644
--- a/ledger-smb.conf
+++ b/ledger-smb.conf
@@ -1,4 +1,15 @@
-use vars qw($userspath $spool $memberfile $templates $sendmail $language $sid $latex %printer $gzip);
+use vars qw($userspath $spool $memberfile $templates $sendmail $language $sid $latex %printer $gzip $GLOBALDBH);
+
+#################################
+# Global database parameters
+#################################
+# These parameters *must* be set correctly
+# for LedgerSMB >= 1.2 to work
+my $globalDBConnect = 'dbi:Pg:dbname=ledgersmb;host=localhost;port=5432';
+my $globalUserName = "ledgersmb";
+my $globalPassword = "set me to correct password";
+
+$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword);
# path to user configuration files
$userspath = "users";