X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=38af4cc8c7c79895607e9e25a9b95e210e99315c;hp=1dd16ec7208f321c7865e5dca812df9923425a28;hb=380df2ee971291598a2b4864a69f067796694b5f;hpb=9a90f2af0663c9b4e9611e044fd25349425d1aec diff --git a/htetc/handler.pl b/htetc/handler.pl index 1dd16ec72..38af4cc8c 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -44,7 +44,8 @@ sub handler ###Module::Refresh->refresh;### - $r->content_type('text/html'); + #$r->content_type('text/html; charset=utf-8'); + $r->content_type('text/html; charset=iso-8859-1'); #eorar my $headers = $r->headers_out; @@ -69,6 +70,15 @@ sub handler } else { + local $SIG{__WARN__}; + local $SIG{__DIE__}; + + RT::Init() if $RT::VERSION; #for lack of something else + + #we don't want the RT error handlers under FS + undef($SIG{__WARN__}) if defined($SIG{__WARN__}); + undef($SIG{__DIE__}) if defined($SIG{__DIE__} ); + $ah->interp($fs_interp); }