X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fglobal.asa;h=4358e87b11b9dff9a465dc9cd2dd7b473619306f;hb=c28a1f2d8b6c0c355a96f3b8f34c2ec40971c2a1;hp=8027ae3e50cc4140fb72065bde113db92bd30e64;hpb=d384acea721092aebd4ffd972a2c3a80208e80ae;p=freeside.git diff --git a/htetc/global.asa b/htetc/global.asa index 8027ae3e5..4358e87b1 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -14,6 +14,8 @@ 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; use HTML::Widgets::SelectLayers 0.03; @@ -24,6 +26,7 @@ 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::Report::Table::Monthly; use FS::agent; use FS::agent_type; @@ -66,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; @@ -195,7 +197,8 @@ sub sprintAutoProfile { } sub include { - $Response->Include(@_); + ( my $file = shift ) =~ s(^/)(%%%FREESIDE_DOCUMENT_ROOT%%%/); + ${$Response->TrapInclude($file, @_)}; } if ( defined(@DBIx::Profile::ISA) ) {