]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/console
Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben
[mfinanz.git] / scripts / console
index 5e85b026419052e77170292214ebb4e15f052469..79db5a96c5f686f7042d84573f7f233d1ee1214d 100755 (executable)
@@ -59,10 +59,6 @@ sub lxinit {
 
   package main;
 
-  { no warnings 'once';
-    $::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";
 
@@ -70,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;