Changes between Version 2 and Version 3 of TewiDirectiveBeginIf


Ignore:
Timestamp:
Sep 26, 2024, 4:18:14 AM (7 weeks ago)
Author:
Izuru Yakumo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TewiDirectiveBeginIf

    v2 v3  
    11
    22== !BeginIf / !EndIf
    3 Encloses directives that will be processed only if a test is true at startup
     3Encloses directives that will be processed only if a test is true at startup.
     4This is equivalent to {{{ httpd }}}'s {{{ IfDefined }}}
    45
    5 == !BeginIfNot
     6{{{
     7BeginIf Defined
     8    ForceLog "defined"
     9EndIf
     10}}}
     11
     12== !BeginIfNot / !EndIfNot
    613Same as above for false values.
     14This is equivalent to {{{ httpd's }}} {{{ IfDefined !parameter-name }}}
     15
     16{{{
     17BeginIfNot Defined test
     18   ForceLog "not defined"
     19EndIfNot
     20}}}