projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zip email CDRs, RT#40112
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
18108ab
..
4bb214c
100644
(file)
--- 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
$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;
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;
return -1 if defined( $r->content_type )
&& $r->content_type !~ m!(^text/|\bxml\b)!io;
-
local $SIG{__WARN__};
local $SIG{__DIE__};
local $SIG{__WARN__};
local $SIG{__DIE__};