[TYPO3-core] RFC #7533: PHP version checked too late, PHP 4 will beak on inclusion of t3lib_div

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Feb 14 19:18:24 CET 2008


Ingmar Schlecht schrieb:
> Obvious one, +1, go ahead!
> 
> cheers
> Ingmar
> 
> Martin Kutschker schrieb:
>> Hi!
>>
>> This is a SVN patch request for TYPO3-4_2.
>>
>> Problem: The new t3lib_div has keywords public, etc and so PHP 4 will 
>> break before any PGP version check comes into play.
>>
>> Solution: Move the check using version_compare() to the top of 
>> init.php and index_ts.php

Commited to TYPO3_4-2

Masi


More information about the TYPO3-team-core mailing list