summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService
diff options
context:
space:
mode:
authorivan <ivan>2009-10-12 09:10:19 +0000
committerivan <ivan>2009-10-12 09:10:19 +0000
commit16f62db53bb9996f92c29f18db6a7191aaa131dd (patch)
tree02a64fb0cb0fefc9fc43174ec8c70fe17d408cd2 /fs_selfservice/FS-SelfService
parente67b7f4bc312c27c09ffcc235aa93b2b78af89a6 (diff)
use modules in signup.cgi instead of in the template, fixes "Insecure dependency in rquire"
Diffstat (limited to 'fs_selfservice/FS-SelfService')
-rwxr-xr-xfs_selfservice/FS-SelfService/cgi/signup.cgi2
-rwxr-xr-xfs_selfservice/FS-SelfService/cgi/signup.html3
2 files changed, 2 insertions, 3 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/signup.cgi b/fs_selfservice/FS-SelfService/cgi/signup.cgi
index fb4a7c551..da595437c 100755
--- a/fs_selfservice/FS-SelfService/cgi/signup.cgi
+++ b/fs_selfservice/FS-SelfService/cgi/signup.cgi
@@ -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
diff --git a/fs_selfservice/FS-SelfService/cgi/signup.html b/fs_selfservice/FS-SelfService/cgi/signup.html
index 3f8e4a3f7..9ee0cab34 100755
--- a/fs_selfservice/FS-SelfService/cgi/signup.html
+++ b/fs_selfservice/FS-SelfService/cgi/signup.html
@@ -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/,