[Typo3-dev] Determining Typo3 version
Kasper Skårhøj
kasper at typo3.com
Fri May 7 10:53:18 CEST 2004
Right.
And in t3lib_div there is a function to convert x.x.x to an integer.
- kasper
On Fri, 2004-05-07 at 09:18, Peter Niederlag wrote:
> Hi,
>
> Martin T. Kutschker schrieb am 7.05.2004 um 08:53 Uhr CEST
>
> > Stanislas Rolland wrote:
> > > Hi,
> > >
> > > What would be a safe and clean way for an extension to test if is
> > > executing under Typo3 3.5.0 or 3.6.0?
> >
> > IIRC check the value of the constant TYPO_VERSION
>
> Sure it's a constant?. To me it seems to be
> $GLOBALS['TYPO_VERSION'].
>
> [..]typo3_src-3.6.0-cvs$ grep -R TYPO_VERSION .
> ....
>
> Cheers,
> PeterN
--
Best regards
- kasper
--------------------
It's not a bug, it's a missing feature.
More information about the TYPO3-dev
mailing list