projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes "Error reval-ing" and won't bill errors
[freeside.git]
/
FS
/
FS
/
CGI.pm
diff --git
a/FS/FS/CGI.pm
b/FS/FS/CGI.pm
index
198477c
..
6078ad9
100644
(file)
--- a/
FS/FS/CGI.pm
+++ b/
FS/FS/CGI.pm
@@
-121,13
+121,11
@@
Sends headers and an HTML error message, then exits.
=cut
sub eidiot {
=cut
sub eidiot {
-
#
warn "eidiot depriciated";
+ warn "eidiot depriciated";
idiot(@_);
if (exists $ENV{MOD_PERL}) {
idiot(@_);
if (exists $ENV{MOD_PERL}) {
- eval {
- use Apache;
- Apache::exit();
- };
+ require Apache;
+ Apache::exit();
} else {
exit;
}
} else {
exit;
}