diff options
-rw-r--r-- | FS/FS/CGI.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm index 198477ce6..6078ad96b 100644 --- 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 { - #warn "eidiot depriciated"; + warn "eidiot depriciated"; idiot(@_); if (exists $ENV{MOD_PERL}) { - eval { - use Apache; - Apache::exit(); - }; + require Apache; + Apache::exit(); } else { exit; } |