Issue Bug Closed

#69658Custom composer packages won't load

Stefano Kowalke 09/11/15, 01:34 updated 09/11/15, 10:39

Description

According to the wiki article TYPO3 will load custom Composer packages from Packages/Libraries/ when the constant TYPO3_COMPOSER_AUTOLOAD is set.

This doesn’t work because the code which determines the path to Packages/Libraries/ returns the real path to the core instead of the path to the webroot.

Actual result:
/Users/$user/Sites/TYPO3/6-2/typo3/sysext/core/Classes/Core/../../../../../../Packages/Libraries/autoload.php

Expected result:
Packages/Libraries/autoload.php

Reviews 1