[TYPO3-core] RFC: Bugfix #7425: syntax error in temp_CACHE*.php

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Feb 14 12:32:05 CET 2008


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>> Problem:
>>
>> if extensions ext_localconf.php or ext_tables.php misses php endtag, 
>> there is a syntax error in temp_CACHE*.php because they are merged 
>> together, and then such a construct leads to the syntax error:
>>
>> <?php
>> ...
>> <?php
>>
>> Solution:
>>
>> strip out php-tags and wrap with single php-tag
> 
> Looks ok to me. If there are no other objections from core devs, I am 
> willing to commit this patch. There is no much sense in "?><?php" 
> anyway, so better get rid of it.

I'm +1 for this now, but Ries has given a -1 one for it. But as I have 
answered to his post, IMHO the reason for the -1 is wrong. Though the 
reaon for the patch is wrong too ;-) But let's get rid of those 
superfluous "?><?php".

Masi


More information about the TYPO3-team-core mailing list