]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Dispatcher.pm
Wechselkurse werden im footer nicht angezeigt.
[mfinanz.git] / SL / Dispatcher.pm
index 6512f0312714fa9ff48c233a6c7bc05cb2f10aa3..8a8d5bbcf50263211e27b9a19ee0e73f392ee746 100644 (file)
@@ -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;
@@ -231,6 +231,7 @@ sub handle_request {
   # cleanup
   $::locale   = undef;
   $::form     = undef;
+  $::auth     = undef;
   $::myconfig = ();
   Form::disconnect_standard_dbh;
   $::auth->expire_session_keys->save_session;