X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c90b4dcd8d8ee9f3e80c0b81bb5fc792ae4c9d03..4cb3ecfd6f144901ed89dae7acafdf1c124c53f4:/SL/Dispatcher.pm diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 6512f0312..3bf120668 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -84,7 +84,6 @@ sub pre_startup_setup { { no warnings 'once'; $::lxdebug = LXDebug->new; - $::auth = SL::Auth->new; $::form = undef; %::myconfig = (); %::called_subs = (); # currently used for recursion detection @@ -160,6 +159,7 @@ sub handle_request { $::cgi = CGI->new(''); $::locale = Locale->new($::lx_office_conf{system}->{language}); $::form = Form->new; + $::auth = SL::Auth->new; %::called_subs = (); eval { ($routing_type, $script_name, $action) = _route_request($script_name); 1; } or return; @@ -235,6 +235,7 @@ sub handle_request { Form::disconnect_standard_dbh; $::auth->expire_session_keys->save_session; $::auth->dbdisconnect; + $::auth = undef; $::lxdebug->end_request; $::lxdebug->leave_sub;