#69658Custom composer packages won't load
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