summaryrefslogtreecommitdiff
path: root/htetc/handler.pl
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2009-10-11 02:42:17 +0000
committercvs2git <cvs2git>2009-10-11 02:42:17 +0000
commita83a000a027d1272e813259d09230d701d84df64 (patch)
tree71500c957e6d7db3e1ad3d59e74ca7bbb14e44ff /htetc/handler.pl
parent097a12385d80ef52f37d4cc2bb93bc3f81e6f8e6 (diff)
parent0b69c091543b56a45f2ae6b8718fc67f381a6686 (diff)
This commit was manufactured by cvs2svn to create branchfreeside_1_9_1
'FREESIDE_1_9_BRANCH'.
Diffstat (limited to 'htetc/handler.pl')
-rw-r--r--htetc/handler.pl12
1 files changed, 11 insertions, 1 deletions
diff --git a/htetc/handler.pl b/htetc/handler.pl
index 1dd16ec72..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,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);
}