Ausführung von admin.pl wieder über ::run() laufen lassen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 12 Jun 2013 12:06:34 +0000 (14:06 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 13 Jun 2013 14:31:37 +0000 (16:31 +0200)
SL/Dispatcher.pm

index 1261aa7..4b25ca7 100644 (file)
@@ -251,6 +251,9 @@ sub handle_request {
     if (($script eq 'login') && !$action) {
       print $::request->{cgi}->redirect('controller.pl?action=LoginScreen/user_login');
 
+    } elsif ($script eq 'admin') {
+      ::run($session_result);
+
     } else {
       $self->redirect_to_login($script) if SL::Auth::SESSION_EXPIRED == $session_result;