[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [199] trunk/ledger-smb.conf
- Subject: SF.net SVN: ledger-smb: [199] trunk/ledger-smb.conf
- From: ..hidden..
- Date: Tue, 10 Oct 2006 07:25:19 -0700
Revision: 199
http://svn.sourceforge.net/ledger-smb/?rev=199&view=rev
Author: christopherm
Date: 2006-10-10 07:25:14 -0700 (Tue, 10 Oct 2006)
Log Message:
-----------
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
Modified Paths:
--------------
trunk/ledger-smb.conf
Modified: trunk/ledger-smb.conf
===================================================================
--- trunk/ledger-smb.conf 2006-10-10 14:23:39 UTC (rev 198)
+++ trunk/ledger-smb.conf 2006-10-10 14:25:14 UTC (rev 199)
@@ -1,5 +1,16 @@
-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";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.