summaryrefslogtreecommitdiff
path: root/LedgerSMB/Sysconfig.pm
blob: aaab331943f88b29c45ed4c109e1f146e15dd841 (plain)
  1. #  This is the new configuration file for LedgerSMB. Eventually all system
  2. # configuration directives will go here, This will probably not fully replace
  3. # the ledger-smb.conf until 1.3, however.
  4. package LedgerSMB::Sysconfig;
  5. $session='DB';
  6. $logging=0; # No logging on by default
  7. @io_lineitem_columns = qw(unit onhand sellprice discount linetotal);
  8. # if you have latex installed set to 1
  9. $latex = 1;
  10. # spool directory for batch printing
  11. $spool = "spool";
  12. # path to user configuration files
  13. $userspath = "users";
  14. # templates base directory
  15. $templates = "templates";
  16. # member file
  17. $memberfile = "users/members";
  18. # location of sendmail
  19. $sendmail = "| /usr/sbin/sendmail -t";
  20. # set language for login and admin
  21. $language = "";
  22. # Maximum number of invoices that can be printed on a check
  23. $check_max_invoices = 5;
  24. # program to use for file compression
  25. $gzip = "gzip -S .gz";
  26. #################################
  27. # Global database parameters
  28. #################################
  29. # These parameters *must* be set correctly
  30. # for LedgerSMB >= 1.2 to work
  31. my $globalDBConnect = 'dbi:Pg:dbname=ledgersmb;host=localhost;port=5432';
  32. my $globalUserName = "ledgersmb";
  33. my $globalPassword = "set me to correct password";
  34. #$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword);
  35. 1;