Revision ed7bfc4a
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
scripts/console | ||
---|---|---|
68 | 68 |
eval { require "config/lx-erp.conf"; }; |
69 | 69 |
eval { require "config/lx-erp-local.conf"; } if -f "config/lx-erp-local.conf"; |
70 | 70 |
|
71 |
read_config 'config/lx_office.conf' => %::lx_office_conf; |
|
72 |
SL::Dispatcher::_decode_recursively(\%::lx_office_conf); |
|
73 |
|
|
71 | 74 |
$::lxdebug = LXDebug->new; |
72 | 75 |
$::locale = Locale->new($::language); |
73 | 76 |
$::cgi = CGI->new qw(); |
74 | 77 |
$::form = Form->new; |
75 | 78 |
$::auth = SL::Auth->new; |
76 | 79 |
|
77 |
read_config 'config/lx_office.conf' => %::lx_office_conf; |
|
78 |
SL::Dispatcher::_decode_recursively(\%::lx_office_conf); |
|
79 |
|
|
80 | 80 |
die 'cannot reach auth db' unless $::auth->session_tables_present; |
81 | 81 |
|
82 | 82 |
$::auth->restore_session; |
Auch abrufbar als: Unified diff
Globales Konfigurationsobjekt %::lx_office_conf möglichst früh anlegen