cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly
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
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