[TYPO3-english] file path

Markus Klein klein.t3 at mfc-linz.at
Wed May 16 08:48:05 CEST 2012


t3lib_extMgm::extPath('lang') gives you the correct path to the extension 'lang', no matter whether it is a sysext, a local ext or a global ext.

Kind regards

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of typo3 study
> Sent: Wednesday, May 16, 2012 3:56 AM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] file path
> require_once(t3lib_extMgm::extPath('lang').'lang.php');
> I guess it means the path of lang.php. But what does "t3lib_extMgm::extPath('lang')" actually mean? Thanks.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

More information about the TYPO3-english mailing list