schriner / additional-site-conditions
Additional Site Conditions for TYPO3.
Installs: 1 579
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^10.4 || ^11.5 || ^12.4 || dev-main
This package is auto-updated.
Last update: 2024-04-16 15:10:27 UTC
README
Additional site conditions for the site yml.
Installation
Simply install the extension with Composer or the Extension Manager.
composer require schriner/additional-site-conditions
Usage
Currently implemented:
indpEnv.get
Use to get the value of a GeneralUtility::getIndpEnv()
call.
This is useful e.g. if a site is called by a different hostname in a local context and can't resolve it's true hostname.
Usage:
baseVariants: - base: https://foo-bar/ condition: indpEnv.get("HTTP_HOST") == "foo-bar"