Bug #18312
closedConstants are not correctly substituted on some PHP5 distributions
0%
Description
On some PHP5 distributions it happens that constants are not correctly substituted in t3lib_tstemplate. The reason is the the array pointer is not reset to the beginning after an array was created by using the explode() function.
(issue imported from #M7677)
Files
Updated by Oliver Hader over 16 years ago
The attached patch is for TYPO3 4.1.x only.
Updated by Franz Holzinger over 16 years ago
The bug description is not correct. These codelines are not necessary for substituting the constants. They are only for a check if some constants found inside setup have not been substituted. These will be shown only if if ($this->tt_track) is set.
So IMHO this if should be moved some lines above before the whole block you have changed.
You will see that all variables changed in this blocked are not used outside.
IMHO this can go into 4.1 because it cannot do any harm if it does not change other variable contents. This is only used and needed for debugging.
Updated by Benni Mack about 16 years ago
set version to 4.2.2 as maybe this one goes in the next bugfix version.
Updated by Oliver Hader almost 16 years ago
- TYPO3_4-1 (rev. 4742)
- TYPO3_4-2 (rev. 4743)