$::auth erst nach $::form und $::locale anlegen, weil $::auth beide benötigt (SL...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 7 Mar 2011 15:23:40 +0000 (16:23 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 7 Mar 2011 15:23:40 +0000 (16:23 +0100)
Conflicts:

SL/Dispatcher.pm

SL/Dispatcher.pm

index a2aa87e..8a8d5bb 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;