Issue Bug Closed

#65044Relative paths not respected when using ExtensionManagementUtility::addPageTSConfig

Anonymous 02/13/15, 10:57 updated 12/09/15, 22:57

Description

Adding INCLUDE_TYPOSCRIPT using \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig() in ext_localconf.php works correctly, but relative paths from the included file don’t work.

e.g. in ext_localconf.php:

TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(’<include_typoscript: source="FILE:EXT:' .$_EXTKEY. '/Configuration/TypoScript/ts_config.ts">‘);</include_typoscript:>

If this file ts_config.ts contains the following code…

<include_typoscript: source="./rte.ts"> <p>…then TYPO3 cannot find the file rte.ts.</p></include_typoscript:>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.