Actions
Bug #17176
closedTSref: [globalString = HTTP_HOST= www.typo3.com] does not always work
Start date:
2007-07-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Here
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3526981
it says that you can access HTTP_HOST in conditionals using
[globalString = HTTP_HOST=www.typo3.com]
but that didn't work for me. I had to use
[globalString = _SERVER|HTTP_HOST=www.typo3.com]
instead. I think this is a result of globals=off.
Maybe that should be noted in the documentation. Or is it a typo3 bug?
Typo3 4.1.1
(issue imported from #M6015)
Updated by Jörg Leshel about 15 years ago
thanks for the hint
I think global strings should be wrapped. Typoscript syntax shouldn't depend on php configuration.
Updated by Francois Suter almost 15 years ago
Updated by Francois Suter almost 15 years ago
Committed to documentation trunk in revision 6611
Actions