Project

General

Profile

Actions

Bug #65044

closed

Relative paths not respected when using ExtensionManagementUtility::addPageTSConfig

Added by Anonymous over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2015-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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">');

If this file ts_config.ts contains the following code…

<INCLUDE_TYPOSCRIPT: source="./rte.ts">

…then TYPO3 cannot find the file rte.ts.

Actions

Also available in: Atom PDF