projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#18361: Delay package from billing until services are provisioned [rename method]
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
3c68e83
..
416ea69
100644
(file)
--- 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 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%%% ) {
if ( %%%RT_ENABLED%%% ) {
@@
-104,7
+107,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__};