[TYPO3-core] RFC: #9372: Code in class.tx_tstemplateanalyzer.php don't match with the new CGL
Stefano Kowalke
blueduck at gmx.net
Tue Nov 4 09:41:18 CET 2008
Steffen Kamper schrieb:
> Stefano Kowalke schrieb:
>> Steffen Kamper wrote:
>>
>>> * found an issue where empty string is added like $a = '' . $xyz
>>
>> I dont understand, what is the problem with this?
>> Please give me the line to this issue.
>>
>> Stefano
>
> here it is:
>
> t3lib_TSparser::checkIncludeLines('' .
> $GLOBALS['TYPO3_CONF_VARS']['FE']['defaultTypoScript_constants']))) + 1;
>
> i don't get the sense of '' .
>
> also this puzzles me all the time when i read it, it should be examined:
>
> // Don't know why -2 and not 0... :-) But works.
> $this>tmpl->ext_lineNumberOffset = -2;
>
> vg Steffen
This two issus are interessting but IMHO have nothing to do with CGL.
I stumbled over the 2nd one too, if i try to display linenumbers in
Web->Info->Page-TSconfig. But this needs more investigation.
Stefano
More information about the TYPO3-team-core
mailing list