diff options
Diffstat (limited to 'LedgerSMB/Sysconfig.pm')
-rw-r--r-- | LedgerSMB/Sysconfig.pm | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index 7d0f56fe..aaab3319 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -2,12 +2,50 @@ # configuration directives will go here, This will probably not fully replace # the ledger-smb.conf until 1.3, however. -package LSMBConfig; +package LedgerSMB::Sysconfig; $session='DB'; $logging=0; # No logging on by default @io_lineitem_columns = qw(unit onhand sellprice discount linetotal); +# if you have latex installed set to 1 +$latex = 1; + +# spool directory for batch printing +$spool = "spool"; + +# path to user configuration files +$userspath = "users"; + +# templates base directory +$templates = "templates"; + +# member file +$memberfile = "users/members"; + +# location of sendmail +$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; + +# program to use for file compression +$gzip = "gzip -S .gz"; + +################################# +# 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); + 1; |