condition.context.isTesting ViewHelper <vhs:condition.context.isTesting>
¶
Context: IsProduction¶
Returns true if current root application context is testing otherwise false. If no application context has been set, then the default context is production.
Note about how to set the application context¶
The context TYPO3 CMS runs in is specified through the environment variable TYPO3_CONTEXT. It can be set by .htaccess or in the server configuration