]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/console
Aufrufe von focus() entfernt.
[mfinanz.git] / scripts / console
index b9b474585abc77cdb3927f7bc73cde42f3903302..0d5e20a254b2d930cbe82b4b71e37b001e46b559 100755 (executable)
@@ -60,12 +60,12 @@ sub lxinit {
 
   package main;
 
-  $::lxdebug = LXDebug->new(file => $debug_file);
-  $::locale = Locale->new($::lx_office_conf{system}->{language});
-  $::cgi    = CGI->new qw();
-  $::form   = Form->new;
-  $::auth   = SL::Auth->new;
+  $::lxdebug       = LXDebug->new(file => $debug_file);
+  $::locale        = Locale->new($::lx_office_conf{system}->{language});
+  $::form          = Form->new;
+  $::auth          = SL::Auth->new;
   $::instance_conf = SL::InstanceConfiguration->new;
+  $::request       = { cgi => CGI->new({}) };
 
   die 'cannot reach auth db'               unless $::auth->session_tables_present;
 
@@ -73,7 +73,7 @@ sub lxinit {
 
   require "bin/mozilla/common.pl";
 
-  die "cannot find user $login"            unless %::myconfig = $::auth->read_user($login);
+  die "cannot find user $login"            unless %::myconfig = $::auth->read_user(login => $login);
 
   $::form->{login} = $login; # normaly implicit at login