Reputation: 1024
I need to check the protocol with the Symfony Expression Langange in TypoScript conditions.
The old syntax is
[globalString = IENV:TYPO3_SSL=1]
But in the documentation, there is no mention of TYPO3_SSL
.
https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Conditions/
Upvotes: 2
Views: 389
Reputation: 1024
Starting with TYPO3 ver.: 9.4
and next, this can be used as a replacement:
[request.getNormalizedParams().isHttps() == true]
Here are some more references for migrating TypoScript conditions:
Upvotes: 3