X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=416ea69c471c87a26e300c7bfb96feb9de8335a6;hp=3c68e83ed7da4e2bd6c9d8a935ea506cb5910564;hb=aaeaf74ce3d3ceb731633a054d56a7f916ff2721;hpb=4e43da6dff682295e4e0b2fbdd7097fce95c68d7 diff --git a/htetc/handler.pl b/htetc/handler.pl index 3c68e83ed..416ea69c4 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -6,6 +6,9 @@ use strict; use warnings; use FS::Mason qw( mason_interps ); use FS::Trace; +use FS::Conf; + +$FS::Conf::conf_cache_enabled = 1; # enable FS::Conf caching for performance if ( %%%RT_ENABLED%%% ) { @@ -104,7 +107,6 @@ sub handler return -1 if defined( $r->content_type ) && $r->content_type !~ m!(^text/|\bxml\b)!io; - local $SIG{__WARN__}; local $SIG{__DIE__};