fixed helper
Sebastian Riedel [Mon, 21 Mar 2005 23:46:01 +0000 (23:46 +0000)]
lib/Catalyst/Helper.pm

index 52b35a0..9f6b765 100644 (file)
@@ -325,6 +325,8 @@ sub _mk_cgi {
     $self->mk_file( "$script\/nph-cgi.pl", <<"EOF");
 $Config{startperl} -w
 
+BEGIN { \$ENV{CATALYST_ENGINE} = 'CGI' }
+
 use strict;
 use FindBin;
 use lib "\$FindBin::Bin/../lib";