Revision be6f6cfd
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
scripts/task_server.pl | ||
---|---|---|
46 | 46 |
eval { require "config/lx-erp-local.conf"; 1; } or die $EVAL_ERROR if -f "config/lx-erp-local.conf"; |
47 | 47 |
|
48 | 48 |
$::lxdebug = LXDebug->new; |
49 |
$::locale = Locale->new($::language);
|
|
49 |
$::locale = Locale->new($::lx_office_conf{system}->{language});
|
|
50 | 50 |
$::cgi = CGI->new qw(); |
51 | 51 |
$::form = Form->new; |
52 | 52 |
$::auth = SL::Auth->new; |
... | ... | |
115 | 115 |
foreach my $job (@{ $jobs }) { |
116 | 116 |
# Provide fresh global variables in case legacy code modifies |
117 | 117 |
# them somehow. |
118 |
$::locale = Locale->new($::language);
|
|
118 |
$::locale = Locale->new($::lx_office_conf{system}->{language});
|
|
119 | 119 |
$::form = Form->new; |
120 | 120 |
|
121 | 121 |
$job->run; |
Auch abrufbar als: Unified diff
Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben
Betroffen sind:
$webdav
$vertreter
$lizenzen
$show_best_before
$parts_show_image
$parts_image_css
$parts_listing_images
$eur
$dbcharset
$language