/bin
scripts check for environment variable
GATEWAY_INTERFACE
to determine if they are run via CLI or CGI/mod_perl. However, mod_perl 2 defines
MOD_PERL
environment variable instead. The check should be:
if ( defined $ENV{GATEWAY_INTERFACE} or defined $ENV{MOD_PERL} )
--
TWiki:Main/AvishaiIshShalom
- 2010-08-21
Thank you
AvishaiIsh for reporting and for providing a solution. I patched all twiki/bin files and twiki/lib/TWiki.pm accordingly. SVN trunk and 5.0 branch are updated.
--
TWiki:Main.PeterThoeny
- 2010-08-22