Extension-Pfad

TYPO3 8

Relativer Pfad:

$path = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY);


Absoluter Pfad:

$path = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);



TYPO3 9

Relativer Pfad:

$path = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($_EXTKEY);


Absoluter Pfad:

$path = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);