use modules in signup.cgi instead of in the template, fixes "Insecure dependency...
authorivan <ivan>
Mon, 12 Oct 2009 09:10:19 +0000 (09:10 +0000)
committerivan <ivan>
Mon, 12 Oct 2009 09:10:19 +0000 (09:10 +0000)
fs_selfservice/FS-SelfService/cgi/signup.cgi
fs_selfservice/FS-SelfService/cgi/signup.html

index fb4a7c5..da59543 100755 (executable)
@@ -17,9 +17,11 @@ use subs qw( print_form print_okay print_decline
            );
 use CGI;
 #use CGI::Carp qw(fatalsToBrowser);
+use Tie::IxHash;
 use Text::Template;
 use Business::CreditCard;
 use HTTP::BrowserDetect;
+use HTML::Widgets::SelectLayers;
 use FS::SelfService qw( signup_info new_customer );
 
 #acceptable payment methods
index 3f8e4a3..9ee0cab 100755 (executable)
@@ -217,9 +217,6 @@ Contact Information
       }
     }
 
-use Tie::IxHash;
-use HTML::Widgets::SelectLayers;
-
   my %payby_index = ( 'CARD'   => qq/Credit Card/,
                       'DCRD'   => qq/Credit Card/,
                       'CHEK'   => qq/Check/,