summaryrefslogtreecommitdiff
path: root/ledger-smb.conf
blob: dd0c9f032a35cb0b000b6a37d408619cc19d7188 (plain)
  1. use vars qw($userspath $spool $memberfile $templates $sendmail $language $sid $latex %printer $gzip $GLOBALDBH);
  2. #################################
  3. # Global database parameters
  4. #################################
  5. # These parameters *must* be set correctly
  6. # for LedgerSMB >= 1.2 to work
  7. my $globalDBConnect = 'dbi:Pg:dbname=ledgersmb;host=localhost;port=5432';
  8. my $globalUserName = "ledgersmb";
  9. my $globalPassword = "set me to correct password";
  10. #$GLOBALDBH = DBI->connect($globalDBConnect, $globalDBUserName, $globalDBPassword);
  11. # path to user configuration files
  12. $userspath = "users";
  13. # spool directory for batch printing
  14. $spool = "spool";
  15. # templates base directory
  16. $templates = "templates";
  17. # member file
  18. $memberfile = "users/members";
  19. # location of sendmail
  20. $sendmail = "| /usr/sbin/sendmail -t";
  21. # set language for login and admin
  22. $language = "";
  23. # Maximum number of invoices that can be printed on a check
  24. $check_max_invoices = 5;
  25. # if you have latex installed set to 1
  26. $latex = 1;
  27. # available printers
  28. %printer = ( Laser => 'lpr -Plaser',
  29. Epson => 'lpr -PEpson',
  30. );
  31. # program to use for file compression
  32. $gzip = "gzip -S .gz";
  33. # if the server can't find gzip, latex, dvips or pdflatex, add the path
  34. $ENV{PATH} .= ":/usr/local/bin:/usr/local/pgsql/bin";
  35. # on mac os X using Fink's Perl libs, add the path
  36. #$ENV{PERL5LIB} .= ":/sw/lib/perl5";
  37. 1;