schriner/additional-site-conditions

Additional Site Conditions for TYPO3. Currently

Installs: 1 905

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v0.4.0 2024-10-15 10:42 UTC

This package is auto-updated.

Last update: 2024-12-15 11:15:28 UTC


README

Installation

Via composer:

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.

baseVariants:
  -
    base: https://foo-bar/
    condition: indpEnv.get("HTTP_HOST") == "foo-bar"