2 # path to temporary files (must be writeable by the web server)
4 # spool directory for batch printing
6 # templates base directory
8 # Path to the old memberfile (ignored on new installations)
9 memberfile = users/members
12 # User name to use for database access
14 # Set to 1 for debug messages in /tmp/lx-office-debug.log
16 # Chose a system user the daemon should run under when started as root.
20 # The user name a report about the posted and printed invoices is sent
23 # The "From:" header for said email.
24 email_from = Lx-Office Daemon <root@localhost>
25 # The subject for said email.
26 email_subject = Benachrichtigung: automatisch erstellte Rechnungen
27 # The template file used for the email's body.
28 email_template = templates/webpages/oe/periodic_invoices_email.txt
31 # autologin to use if none is given
34 # autorun lines will be executed after autologin.
35 # be warned that loading huge libraries will noticably lengthen startup time.
36 autorun = require "bin/mozilla/common.pl";
37 = use English qw(-no_match_vars);
38 = use List::Util qw(min max);
39 = use Sort::Naturally;
40 = my ($a, $b, $e, $f, @a1, @a2, %h);
41 = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
43 # location of history file for permanent history
44 history_file = users/console_history
47 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
48 # will be replaced by the file name configured for $::lxdebug.
50 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
51 = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
52 = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
53 = log4perl.appender.LOGFILE.mode=append
54 = log4perl.appender.LOGFILE.Threshold = ERROR
55 = log4perl.appender.LOGFILE.layout=PatternLayout
56 = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
57 = log4perl.logger.DBIx.Log4perl=DEBUG, A1
58 = log4perl.appender.A1=Log::Log4perl::Appender::File
59 = log4perl.appender.A1.filename=LXDEBUGFILE
60 = log4perl.appender.A1.mode=append
61 = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
62 = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
64 # Activate certain global debug messages. If you want to combine
65 # several options then list them seperated by spaces.
67 # Possible values include:
68 # NONE - no debug output (default)
72 # QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
73 # TRACE - Track function calls and returns
74 # BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
75 # REQUEST_TIMER - Log timing of HTTP requests
77 # ALL - all possible debug messages
79 # DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
82 # global_level = TRACE QUERY
85 # Activate monitoring of the content of $form. If it is active then
86 # monitoring can be turned on for certain variables with the
88 # $form->{"Watchdog::<variable>"} = 1;
89 # Monitoring has a performance cost and is therefore deactivated by
93 # If you want to debug the creation of LaTeX files then set this to 1.
94 # That way the temporary LaTeX files created during PDF creation are
95 # not removed and remain in the "users" directory.
98 # The file name where the debug messages are written to.
99 file_name = /tmp/lx-office-debug.log