Scriptname steht nicht mehr in $form
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 17 Feb 2010 12:00:57 +0000 (13:00 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 20 Jul 2010 09:17:21 +0000 (11:17 +0200)
SL/Dispatcher.pm

index dc7f68f..b4f75ba 100644 (file)
@@ -102,10 +102,10 @@ sub require_main_code {
     };
     $::form->error($EVAL_ERROR) if ($EVAL_ERROR);
   }
-  if ($::form->{login} && -f "bin/mozilla/$::form->{login}_$::form->{script}") {
+  if ($::form->{login} && -f "bin/mozilla/$::form->{login}_$script") {
     eval {
       package main;
-      require "bin/mozilla/$::form->{login}_$::form->{script}";
+      require "bin/mozilla/$::form->{login}_$script";
     };
     $::form->error($EVAL_ERROR) if ($EVAL_ERROR);
   }