Frank Wiles wrote:
> On Mon, 23 Jan 2006 11:01:07 -0800
> Stas Bekman <[EMAIL PROTECTED]> wrote:
> 
> 
>>Stas Bekman wrote:
>>[...]
>>
>>>In which case checking $ENV{MOD_PERL_API_VERSION} should do the
>>>trick.
>>
>>Just remember that mod_perl1 doesn't have this env var. So it should 
>>probably go like:
>>
>>  if exists $ENV{MOD_PERL_API_VERSION} and ...
> 
> 
>   But these aren't populated if you use SetHandler modperl correct? 

no.  these particular %ENV values are always populated, as they're mod_perl
specific.  the modperl handler just toggles cgi vars and other things coming
from $r->subprocess_env.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to