]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Dispatcher.pm
Webdav-Komponente: Das Erstellen des Verzeichnisses ausgelagert. Ferner den Beleg...
[mfinanz.git] / SL / Dispatcher.pm
index b485063421f6a68de0820b5d1be5f02b9c06ab6f..3bf120668f919f0d3b17cb83308795f57f981547 100644 (file)
@@ -156,10 +156,10 @@ sub handle_request {
 
   $self->unrequire_bin_mozilla;
 
-  $::auth        = SL::Auth->new;
   $::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;