config/lx_office.conf.default einlesen, wenn config/lx_office.conf nicht existiert
[kivitendo-erp.git] / config / lx_office.conf.default
1 [system]
2 # EUR: Einnahmen-Überschussrechnung (net income method). Set this to 1
3 # if your company uses the net income method and to 0 for balacing.
4 eur = 1
5
6 # Set language for login and admin forms. Currently "de" (German),
7 # "de_DE" (new German) and "en" (English, not perfect) are available.
8 language = de
9
10 # The database charset. Must match the database cluster you want to
11 # connect to.
12 dbcharset = UTF-8
13
14 [features]
15 # Activate certain optional features and modules.
16 webdav = 0
17 lizenzen = 1
18 vertreter = 0
19
20 # Show fields used for the best before date
21 show_best_before = 0
22
23 ## Pictures for parts
24 # Show the picture in the part form
25 parts_show_image = 1
26 # Style the picture with the following CSS code:
27 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
28 # Show the picture in the results when you search for parts
29 parts_listing_images = 0
30
31 [paths]
32 # path to temporary files (must be writeable by the web server)
33 userspath = users
34 # spool directory for batch printing
35 spool = spool
36 # templates base directory
37 templates = templates
38 # Path to the old memberfile (ignored on new installations)
39 memberfile = users/members
40
41 [applications]
42 # Location of sendmail
43 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
44 # Location of OpenOffice.org writer
45 openofficeorg_writer = oowriter
46 # Location of the X virtual frame buffer used for OpenOffice
47 xvfb = Xvfb
48 # Location of the html2ps binary
49 html2ps = html2ps
50 # Location of the Ghostscript binary
51 ghostscript = gs
52 # Location of the pdflatex (or compatible, e.g. xetex) binary
53 latex = pdflatex
54 # Location of the two executables "pg_dump" and "pg_restore" used for
55 # database backup and restoration from the admin section.  If
56 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
57 # corresponding option (backup/restoration) will be hidden from the
58 # admin section.
59 pg_dump = pg_dump
60 pg_restore = pg_restore
61
62 [environment]
63 # Add the following paths to the PATH environment variable.
64 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
65 # Add the following paths to the PERL5LIB environment variable.
66 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
67 lib = /sw/lib/perl5
68
69 [print_templates]
70 # If you have LaTeX installed set to 1
71 latex = 1
72 # Minimal support for Excel print templates
73 excel = 0
74 # Enable or disable support for OpenDocument print templates
75 opendocument = 1
76 # Chose whether or not OpenOffice should remain running after a
77 # conversion. If yes then the conversion of subsequent documents will
78 # be a lot faster. You need to have Python and the Python UNO bindings
79 # (part of OpenOffice) installed.
80 openofficeorg_daemon = 1
81 openofficeorg_daemon_port = 2002
82
83 [task_server]
84 # User name to use for database access
85 login = mb
86 # Set to 1 for debug messages in /tmp/lx-office-debug.log
87 debug = 1
88 # Chose a system user the daemon should run under when started as root.
89 run_as =
90
91 [periodic_invoices]
92 # The user name a report about the posted and printed invoices is sent
93 # to.
94 send_email_to  = mb
95 # The "From:" header for said email.
96 email_from     = Lx-Office Daemon <root@localhost>
97 # The subject for said email.
98 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
99 # The template file used for the email's body.
100 email_template = templates/webpages/oe/periodic_invoices_email.txt
101
102 [console]
103 # autologin to use if none is given
104 login = mb
105
106 # autorun lines will be executed after autologin.
107 # be warned that loading huge libraries will noticably lengthen startup time.
108 autorun = require "bin/mozilla/common.pl";
109         = use English qw(-no_match_vars);
110         = use List::Util qw(min max);
111         = use Sort::Naturally;
112         = my ($a, $b, $e, $f, @a1, @a2, %h);
113         = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
114
115 # location of history file for permanent history
116 history_file = users/console_history
117
118 [debug]
119 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
120 # will be replaced by the file name configured for $::lxdebug.
121 dbix_log4perl = 0
122 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
123                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
124                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
125                      = log4perl.appender.LOGFILE.mode=append
126                      = log4perl.appender.LOGFILE.Threshold = ERROR
127                      = log4perl.appender.LOGFILE.layout=PatternLayout
128                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
129                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
130                      = log4perl.appender.A1=Log::Log4perl::Appender::File
131                      = log4perl.appender.A1.filename=LXDEBUGFILE
132                      = log4perl.appender.A1.mode=append
133                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
134                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
135
136 # Activate certain global debug messages. If you want to combine
137 # several options then list them seperated by spaces.
138 #
139 # Possible values include:
140 #   NONE   - no debug output (default)
141 #   INFO
142 #   DEBUG1
143 #   DEBUG2
144 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
145 #   TRACE              - Track function calls and returns
146 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
147 #   REQUEST_TIMER      - Log timing of HTTP requests
148 #   WARN               - warnings
149 #   ALL                - all possible debug messages
150 #
151 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
152 #
153 # Example:
154 #   global_level = TRACE QUERY
155 global_level = NONE
156
157 # Activate monitoring of the content of $form. If it is active then
158 # monitoring can be turned on for certain variables with the
159 # following:
160 #   $form->{"Watchdog::<variable>"} = 1;
161 # Monitoring has a performance cost and is therefore deactivated by
162 # default.
163 watch_form = 0
164
165 # If you want to debug the creation of LaTeX files then set this to 1.
166 # That way the temporary LaTeX files created during PDF creation are
167 # not removed and remain in the "users" directory.
168 keep_temp_files = 0
169
170 # The file name where the debug messages are written to.
171 file_name = /tmp/mb-lxdebug.log