[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Feature-86303-VariantsForSitesBase.rst
1 .. include:: ../../Includes.txt
2
3 ==========================================
4 Feature: #86303 - Variants for site's base
5 ==========================================
6
7 See :issue:`86303`
8
9 Description
10 ===========
11
12 The site configuration allows now to specify variants of the site's base.
13 Take the following example: The base of a site is set to `https://www.domain.tld` but the staging environment uses
14 `https://staging.domain.tld` and the local development uses `https://www.domain.local`.
15
16 The expression language feature is used to define which variant is taken into account.
17
18 Impact
19 ======
20
21 The base of a site can be changed depending on a condition. Typical examples are:
22
23 - :typoscript:`applicationContext == "Production"`: Check the application context
24 - :typoscript:`getenv("mycontext") == "production`: Check a custom environment variable
25
26 .. index:: Backend, Frontend, TypoScript, ext:core