X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fglobal.asa;h=dace295272b12cd35b196973e4cf91e378dfd755;hb=04c0875f27d36309b6d8da8063a9254fef3a7398;hp=193f997df873aeecba28b67e331a764262e53213;hpb=84d15a339737bd783b764c7f0d371084c2158ce7;p=freeside.git diff --git a/htetc/global.asa b/htetc/global.asa index 193f997df..dace29527 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -14,6 +14,7 @@ use Tie::IxHash; use HTML::Entities; use IO::Handle; use IO::File; +use Net::Whois::Raw qw(whois); use Business::CreditCard; use String::Approx qw(amatch); use Chart::LinesPoints; @@ -68,7 +69,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; @@ -197,8 +197,9 @@ sub sprintAutoProfile { } sub include { - $_[0] =~ s(^/)(); - $Response->Include(@_); + ( my $file = shift ) =~ s(^/)(); + $Response->Include($file, @_); + ''; } if ( defined(@DBIx::Profile::ISA) ) {