X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fconsole;h=e183ac83a516b5fb2bf85b7aa881e1ac6c03e83b;hb=2f189aa225f9730ce5e95c415b3a50afd5866aa4;hp=d567c56400d13289c351dfc27f2667cb2a5dcc7d;hpb=ad9811f427c748aae4874b9f746fdce3568d94ef;p=kivitendo-erp.git diff --git a/scripts/console b/scripts/console index d567c5640..e183ac83a 100755 --- a/scripts/console +++ b/scripts/console @@ -62,10 +62,10 @@ sub lxinit { $::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; $::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 @@ -188,8 +188,8 @@ of the classes they were created with. Configuration of this script is located in: - config/lx_office.conf - config/lx_office.conf.default + config/kivitendo.conf + config/kivitendo.conf.default See there for interesting options.