Skip to content

Commit

Permalink
Use PHP textrole
Browse files Browse the repository at this point in the history
  • Loading branch information
sypets committed Mar 10, 2020
1 parent 2a96f24 commit 23909bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/Conditions/Reference/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ tested.
Since TYPO3 6.2 the IP condition also supports the special keyword
"devIP". If - instead of using an actual IP address or range - you use
this keyword, the IP address, which the visitor uses, will be compared
to :code:`$TYPO3_CONF_VARS['SYS']['devIPmask']` as set in the Install
to :php:`$TYPO3_CONF_VARS['SYS']['devIPmask']` as set in the Install
Tool.

Examples:
Expand All @@ -460,7 +460,7 @@ These examples will match any IP address ending with "123" or being
[IP = *.*.*.123][IP = 192.168.1.34]

This example will match the IP address or range defined in
:code:`$TYPO3_CONF_VARS['SYS']['devIPmask']`::
:php:`$TYPO3_CONF_VARS['SYS']['devIPmask']`::

[IP = devIP]

Expand All @@ -485,7 +485,7 @@ Comparison:
Comparison with the hostname, which the website visitor uses.

The values are compared to the fully qualified hostname, which is
retrieved by PHP based on ``getenv('REMOTE\_HOST')``.
retrieved by PHP based on :php:`getenv('REMOTE_HOST')`.

Value is comma-list of domain names to match with. \*-wildcard allowed
but cannot be part of a string, so it must match the full host name
Expand Down Expand Up @@ -513,7 +513,7 @@ Comparison with the application context, in which TYPO3 is running.

The values are compared to applicationContext, which is set at the
very beginning of the bootstrap sequence based on
:code:`getenv('TYPO3_CONTEXT')`.
:php:`getenv('TYPO3_CONTEXT')`.

Value is comma-list of application contexts to match with.
Wildcards + and \* are allowed, as well as regular expressions
Expand Down

0 comments on commit 23909bc

Please sign in to comment.