X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fhandler.pl;h=4bb214c9805611fb897dc36d1f2853b0203b7ee6;hb=6de06472ab43534bd889e531ae060bbd4c935518;hp=3c68e83ed7da4e2bd6c9d8a935ea506cb5910564;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/htetc/handler.pl b/htetc/handler.pl index 3c68e83ed..4bb214c98 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -6,6 +6,15 @@ 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 + +# Preload to share in mod_perl parent for performance +use FS::UID qw(load_schema); +load_schema(); +use FS::Record qw(fk_methods_init); +fk_methods_init; if ( %%%RT_ENABLED%%% ) { @@ -104,7 +113,6 @@ sub handler return -1 if defined( $r->content_type ) && $r->content_type !~ m!(^text/|\bxml\b)!io; - local $SIG{__WARN__}; local $SIG{__DIE__};