Revision 82bb6389
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
config/lx_office.conf.default | ||
---|---|---|
9 | 9 |
[periodic_invoices] |
10 | 10 |
# The user name a report about the posted and printed invoices is sent |
11 | 11 |
# to. |
12 |
send_email_to = login
|
|
12 |
send_email_to = mb
|
|
13 | 13 |
# The "From:" header for said email. |
14 | 14 |
email_from = Lx-Office Daemon <root@localhost> |
15 | 15 |
# The subject for said email. |
... | ... | |
19 | 19 |
|
20 | 20 |
[Console] |
21 | 21 |
# autologin to use if none is given |
22 |
login = demo
|
|
22 |
login = mb
|
|
23 | 23 |
|
24 | 24 |
# autorun lines will be executed after autologin. |
25 | 25 |
# be warned that loading huge libraries will noticably lengthen startup time. |
26 |
#autorun = use SL::Module |
|
27 |
# = use SL::Other::Module |
|
26 |
autorun = require "bin/mozilla/common.pl"; |
|
27 |
= use English qw(-no_match_vars); |
|
28 |
= use List::Util qw(min max); |
|
29 |
= use Sort::Naturally; |
|
30 |
= my ($a, $b, $e, $f, @a1, @a2, %h); |
|
31 |
= sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } |
|
28 | 32 |
|
29 | 33 |
# location of history file for permanent history |
30 | 34 |
history_file = users/console_history |
31 | 35 |
|
32 |
# Settings used when the user changes his/her password. All options |
|
33 |
# default to no restriction if unset. |
|
34 |
[password_policy] |
|
35 |
# Minimum length in number of characters. |
|
36 |
min_length = |
|
37 |
# Maximum length in number of characters. |
|
38 |
max_length = |
|
39 |
# Require a lowe-case character? |
|
40 |
require_lowercase = |
|
41 |
# Require an upper-case character? |
|
42 |
require_uppercase = |
|
43 |
# Require a digit? |
|
44 |
require_digit = |
|
45 |
# Require a special char? Special chars are the following: |
|
46 |
# ! " # $ % & ' ( ) * + , - . : ; < = > ? @ [ \ ] ^ _ { | } |
|
47 |
require_special_character = |
|
48 |
# Optional list of valid characters. Spaces are ignored. If set then |
|
49 |
# the password must only consist of these characters. |
|
50 |
valid_characters = |
|
51 |
# Optional list of invalid characters. Spaces are ignored. |
|
52 |
invalid_characters = |
|
53 |
# Whether or not to check the policy if the password is set from the |
|
54 |
# user administration. |
|
55 |
disable_policy_for_admin = |
|
56 |
# Whether or not to check for weak passwords with the "cracklib" |
|
57 |
# library. Requires the Perl module "Crypt::Cracklib" to be installed. |
|
58 |
use_cracklib = |
|
59 |
|
|
60 | 36 |
[debug] |
61 | 37 |
# Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE |
62 | 38 |
# will be replaced by the file name configured for $::lxdebug. |
... | ... | |
75 | 51 |
= log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout |
76 | 52 |
= log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n |
77 | 53 |
|
54 |
# Activate certain global debug messages. If you want to combine |
|
55 |
# several options then list them seperated by spaces. |
|
56 |
# |
|
57 |
# Possible values include: |
|
58 |
# NONE - no debug output (default) |
|
59 |
# INFO |
|
60 |
# DEBUG1 |
|
61 |
# DEBUG2 |
|
62 |
# QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above) |
|
63 |
# TRACE - Track function calls and returns |
|
64 |
# BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called |
|
65 |
# REQUEST_TIMER - Log timing of HTTP requests |
|
66 |
# WARN - warnings |
|
67 |
# ALL - all possible debug messages |
|
68 |
# |
|
69 |
# DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER" |
|
70 |
# |
|
71 |
# Example: |
|
72 |
# global_level = TRACE QUERY |
|
73 |
global_level = NONE |
|
74 |
|
|
75 |
# Activate monitoring of the content of $form. If it is active then |
|
76 |
# monitoring can be turned on for certain variables with the |
|
77 |
# following: |
|
78 |
# $form->{"Watchdog::<variable>"} = 1; |
|
79 |
# Monitoring has a performance cost and is therefore deactivated by |
|
80 |
# default. |
|
81 |
watch_form = 0 |
|
82 |
|
|
78 | 83 |
# If you want to debug the creation of LaTeX files then set this to 1. |
79 | 84 |
# That way the temporary LaTeX files created during PDF creation are |
80 | 85 |
# not removed and remain in the "users" directory. |
81 | 86 |
keep_temp_files = 0 |
87 |
|
|
88 |
# The file name where the debug messages are written to. |
|
89 |
file_name = /tmp/lx-office-debug.log |
Auch abrufbar als: Unified diff
Initialisierung von LXDebug von lx-erp.conf nach lx_office.conf verschoben