X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCGI.pm;h=6078ad96bed6c92b1899b4dd5465e5e16ccc316a;hb=08cc56589e213542a72060234bdad49fbfeb67c2;hp=198477ce649d751eedf6f9fb4206b40364989a52;hpb=f38f7128e7058d102ac7898e0f06deaf4d1fd538;p=freeside.git 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; }