[Typo3-dev] version checking within extensions

Martin T. Kutschker Martin.T.Kutschker at blackbox.net
Tue Mar 16 11:04:21 CET 2004


t3lib/config_default.php:

$TYPO_VERSION = '3.6.0RC1';

Could we have also?

$TYPO_VERSION_MAJOR = 3;
$TYPO_VERSION_MINOR = 6;
$TYPO_VERSION_WHATSTHELASTNUMBERCALLED = 0;
$TYPO_VERSION_INFO = 'RC1';

There is new stuff in Typo3, but some extension authors may want to 
support older and newer versions of Typo3.

BTW, why is the variable (no constant?) called TYPO and not TYPO3? Just
curious.

Masi






More information about the TYPO3-dev mailing list