projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
585893b
)
fixed helper
Sebastian Riedel [Mon, 21 Mar 2005 23:46:01 +0000 (23:46 +0000)]
lib/Catalyst/Helper.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Helper.pm
b/lib/Catalyst/Helper.pm
index
52b35a0
..
9f6b765
100644
(file)
--- a/
lib/Catalyst/Helper.pm
+++ b/
lib/Catalyst/Helper.pm
@@
-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";