This question about Using an extension: Answered

Is there a mod_perl context?

Is there a way for an extension to detect that it is being executed under mod_perl?

-- BryanThale - 11 Mar 2010

Yes;

$ENV{MOD_PERL}

See lib/Foswiki/Configure/UIs/CGISetup.pm for an example of usage.

-- CrawfordCurrie - 11 Mar 2010

QuestionForm edit

Subject Using an extension
Extension ModPerlEngineContrib
Version Foswiki 1.0.9
Status Answered
Topic revision: r2 - 11 Mar 2010, CrawfordCurrie - This page was cached on 16 Oct 2018 - 12:37.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy