X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fglobal.asa;h=c362f1137fe2a42d737592ff9cc504cd43bf9aee;hb=99e7fe7d18b91fb886f684a01df2f4efe02b34eb;hp=861a27c4b37db5b3b1508afa111c742e60338c3f;hpb=a851e7c263db2e7040bd2e29a9bf44b80bd8eba9;p=freeside.git diff --git a/htetc/global.asa b/htetc/global.asa index 861a27c4b..c362f1137 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -1,5 +1,6 @@ use strict; use vars qw( $cgi $p ); +use Apache::ASP 2.55; use CGI 2.47; #use CGI::Carp qw(fatalsToBrowser); use Date::Format; @@ -9,14 +10,21 @@ use Tie::IxHash; use HTML::Entities; use IO::Handle; use IO::File; +use Net::Whois::Raw qw(whois); +if ( $] < 5.006 ) { + eval "use Net::Whois::Raw 0.32 qw(whois)"; + die $@ if $@; +} +use Business::CreditCard; use String::Approx qw(amatch); -use HTML::Widgets::SelectLayers 0.02; +use HTML::Widgets::SelectLayers 0.03; use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name); use FS::Record qw(qsearch qsearchs fields dbdef); use FS::Conf; use FS::CGI qw(header menubar popurl table itable ntable idiot eidiot small_custview myexit http_header); use FS::Msgcat qw(gettext geterror); +use FS::Misc qw( send_email ); use FS::agent; use FS::agent_type; @@ -54,7 +62,6 @@ use FS::export_svc; use FS::msgcat; sub Script_OnStart { - $Response->AddHeader('Pragma' => 'no-cache'); $Response->AddHeader('Cache-control' => 'no-cache'); # $Response->AddHeader('Expires' => 0); $Response->{Expires} = -36288000;