[TYPO3-dev] Defining TCA settings for different TYPO3 versions

Ingo Renner ingo at typo3.org
Sun Nov 14 04:02:54 CET 2010


Thomas "Thasmo" Deinhamer wrote:

> And what's the correct way to determine the TYPO3 version?

works for me:

switch (TYPO3_branch) {
	case '4.2':
		// ...
		break;
	case '4.3':
		// ...
		break;
	default:
		// ...
}


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2





More information about the TYPO3-dev mailing list