X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ed7bfc4a981d759e51e19a5fe639983554fc8fc9..d29b02386a1406ec5dbaddbdbf40c4df6bc3070b:/scripts/console diff --git a/scripts/console b/scripts/console index 4d89fdb57..79db5a96c 100755 --- a/scripts/console +++ b/scripts/console @@ -59,12 +59,6 @@ sub lxinit { package main; - { no warnings 'once'; - $::userspath = "users"; - $::templates = "templates"; - $::sendmail = "| /usr/sbin/sendmail -t"; - } - eval { require "config/lx-erp.conf"; }; eval { require "config/lx-erp-local.conf"; } if -f "config/lx-erp-local.conf"; @@ -72,7 +66,7 @@ sub lxinit { SL::Dispatcher::_decode_recursively(\%::lx_office_conf); $::lxdebug = LXDebug->new; - $::locale = Locale->new($::language); + $::locale = Locale->new($::lx_office_conf{system}->{language}); $::cgi = CGI->new qw(); $::form = Form->new; $::auth = SL::Auth->new;