X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htetc%2Fhandler.pl;h=952d6203b797d48c8afe064dd65fa3732e7f6217;hp=a9431d3a8847006120cb118a8e91ad8abb25dd49;hb=40a7b3dc653e099f7bd0bd762b649b04c4432db2;hpb=70569273833d91085c6c562865a78a08ddde49a1 diff --git a/htetc/handler.pl b/htetc/handler.pl index a9431d3a8..952d6203b 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,8 +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); }