X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htetc%2Fhandler.pl;h=4bb214c9805611fb897dc36d1f2853b0203b7ee6;hb=12560fb5a69ddace43dc267b44894acb5352c98c;hp=18108ab11e6fd77f6cd8d26a0b177d84b380d314;hpb=688288d7c60a648519d3b0127cd9286401078204;p=freeside.git diff --git a/htetc/handler.pl b/htetc/handler.pl index 18108ab11..4bb214c98 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -10,6 +10,12 @@ 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%%% ) { require RT; @@ -107,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__};