projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r8593,
[freeside.git]
/
htetc
/
handler.pl
diff --git
a/htetc/handler.pl
b/htetc/handler.pl
index
a9431d3
..
952d620
100644
(file)
--- a/
htetc/handler.pl
+++ b/
htetc/handler.pl
@@
-44,7
+44,8
@@
sub handler
###Module::Refresh->refresh;###
###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;
#eorar
my $headers = $r->headers_out;
@@
-69,8
+70,15
@@
sub handler
} else {
} else {
+ local $SIG{__WARN__};
+ local $SIG{__DIE__};
+
RT::Init() if $RT::VERSION; #for lack of something else
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);
}
$ah->interp($fs_interp);
}