[TYPO3-core] FYI: checking use of md5_file() in EM for PHP 4.1

Dmitry Dulepov dmitry at typo3.org
Mon Jan 29 08:57:11 CET 2007


Hi!

Martin Kutschker wrote:
> The EM of 4.0 uses md5_file() which is not available in PHP 4.1. I have 
> created a wrapper to reenabled support for PHP 4.1.
> 
> Masi
> 
> PS: I have not been able to made real checks against PHP 4.1, but only 
> checked md5_file().


Looks good however usually in typo3 it looks like:

if (!functions_exists('md5_file')) {
	function md5_file($filename) {
		return md5(t3lib_div::getURL($filename));
	}
}

But I am ok with your patch too. +1 if you want to keep it as is.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)


More information about the TYPO3-team-core mailing list