summaryrefslogtreecommitdiff
path: root/templates/demo
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 18:54:36 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 18:54:36 +0000
commit2733306689a0bdb6f6585dc482fdafca889171f0 (patch)
tree42f26f9b8324201252175455ffa28bac872d02fd /templates/demo
parent16f75addc898788433077c4ec6cc59c0873b5b62 (diff)
Fixing bug 1711447
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1134 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/demo')
0 files changed, 0 insertions, 0 deletions
"hl opt">, 'arap.pl', 'arapprn.pl', 'bp.pl',
  • 'ca.pl', 'cp.pl', 'ct.pl', 'gl.pl',
  • 'hr.pl', 'ic.pl', 'io.pl', 'ir.pl',
  • 'is.pl', 'jc.pl', 'login.pl', 'menu.pl',
  • 'oe.pl', 'pe.pl', 'pos.pl', 'ps.pl',
  • 'pw.pl', 'rc.pl', 'rp.pl'
  • );
  • # 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";
  • # Temporary files stored at"
  • $tempdir = ( $ENV{TEMP} || '/tmp' );
  • # Backup path
  • $backuppath = $tempdir;
  • # member file
  • $memberfile = "users/members";
  • # location of sendmail
  • $sendmail = "/usr/sbin/sendmail -t";
  • # SMTP settings
  • $smtphost = '';
  • $smtptimout = 60;
  • # 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";
  • # Path to the translation files
  • $localepath = 'locale/po';
  • # available printers
  • %printer = (
  • Laser => 'lpr -Plaser',
  • Epson => 'lpr -PEpson',
  • );
  • my %config;
  • read_config( 'ledgersmb.conf' => %config ) or die;
  • # We should clean this code up for 1.3 :-) Chris T.
  • $logging = $config{''}{logging} if $config{''}{logging};
  • $check_max_invoices = $config{''}{check_max_invoices}
  • if $config{''}{check_max_invoices};
  • $language = $config{''}{language} if $config{''}{language};
  • $session = $config{''}{session} if $config{''}{session};
  • $latex = $config{''}{latex} if $config{''}{latex};
  • $ENV{PATH} .= $pathsep . ( join $pathsep, @{ $config{environment}{PATH} } )
  • if $config{environment}{PATH};
  • $ENV{PERL5LIB} .= ":" . ( join ':', @{ $config{environment}{PERL5LIB} } )
  • if $config{environment}{PERL5LIB};
  • %printer = %{ $config{printers} } if $config{printers};
  • $localepath = $config{paths}{localepath} if $config{paths}{localepath};
  • $spool = $config{paths}{spool} if $config{paths}{spool};
  • $templates = $config{paths}{templates} if $config{paths}{templates};
  • $tempdir = $config{paths}{tempdir} if $config{paths}{tempdir};
  • $userspath =
  • ( $config{paths}{userspath} ) ? $config{paths}{userspath} : $tempdir;
  • $gzip = $config{programs}{gzip} if $config{programs}{gzip};
  • $sendmail = $config{mail}{sendmail} if $config{mail}{sendmail};
  • $smtphost = $config{mail}{smtphost} if $config{mail}{smtphost};