diff options
author | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-10 14:22:38 +0000 |
---|---|---|
committer | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-10 14:22:38 +0000 |
commit | 50bf16b3d0fb63f19f584d88c518c45afe5cd960 (patch) | |
tree | f6733620265799e3c37e08ccd3a6b8b83a3f01f7 | |
parent | 63602693687ca19883ce22ce84b4ecdc4a5a6f96 (diff) |
getting parameters ready for central db setup. GLOBALDHB is the shared/global connection resource to the central db
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@197 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | ledger-smb.conf.default | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/ledger-smb.conf.default b/ledger-smb.conf.default index f5c77bdd..07a657db 100644 --- a/ledger-smb.conf.default +++ b/ledger-smb.conf.default @@ -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"; @@ -18,6 +29,10 @@ $sendmail = "| /usr/sbin/sendmail -t"; # set language for login and admin $language = ""; +# Maximum number of invoices that can be printed on a check +$check_max_invoices = 5; + + # if you have latex installed set to 1 $latex = 1; @@ -30,15 +45,11 @@ $latex = 1; $gzip = "gzip -S .gz"; # if the server can't find gzip, latex, dvips or pdflatex, add the path -$ENV{PATH} .= ":/usr/local/bin"; +$ENV{PATH} .= ":/usr/local/bin:/usr/local/pgsql/bin"; # on mac os X using Fink's Perl libs, add the path #$ENV{PERL5LIB} .= ":/sw/lib/perl5"; -# DB2, Default dataset is expected to be LEDGER -#$ENV{DB2INSTANCE} = "db2inst1"; -#$ENV{DB2_HOME} = "/opt/IBM/db2/V8.1/"; - 1; |