diff options
author | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-10 14:25:14 +0000 |
---|---|---|
committer | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-10 14:25:14 +0000 |
commit | ffdb813ddcb70df1873e16e6ed06e8c0e85f727a (patch) | |
tree | 0ce8b65bc63859c5c25075ba7c18950ffb652ef2 | |
parent | ca141c2d1088019d7b2a379a4e874b8b93b985dc (diff) |
adding globals to ledger-smb.conf, although we should probably consider removing this file from SVN to force the user to set the parameters correctly when installing
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@199 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | ledger-smb.conf | 13 |
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"; |