Project

General

Profile

Actions

Bug #69658

closed

Custom composer packages won't load

Added by Stefano Kowalke about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-09-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF