[TYPO3-core] FYI: Require PHP 4.3 explicitely in typo3/init.php (TYPO3 4.1)

Ingo Renner ingo at typo3.org
Sun Sep 9 18:19:26 CEST 2007


Hi Masi,


Martin Kutschker wrote:

> It seems that only index_ts.php but not init.php check for the correct 
> PHP version. I've changed that_
> 
> -if (t3lib_div::int_from_ver(phpversion())<4001000)     die ('TYPO3 runs 
> with PHP4.1.0+ only');
> +if (t3lib_div::int_from_ver(phpversion())<4003000)     die ('TYPO3 
> requires PHP 4.3.0 or higher.');

how about using a constant for that?


Ingo


More information about the TYPO3-team-core mailing list