Fixed bug #16399: Optimize stdWrap usage for TypoScript content element USER_INT...
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / content / class.tslib_content_userinternal.php
index 34fc28a..5afffaf 100644 (file)
@@ -45,8 +45,13 @@ class tslib_content_UserInternal extends tslib_content_Abstract {
                $this->cObj->setUserObjectType(tslib_cObj::OBJECTTYPE_USER_INT);
                $substKey = 'INT_SCRIPT.' . $GLOBALS['TSFE']->uniqueHash();
                $content = '<!--' . $substKey . '-->';
+
+               $includeLibs = isset($conf['includeLibs.'])
+                       ? $this->cObj->stdWrap($conf['includeLibs'], $conf['includeLibs.'])
+                       : $conf['includeLibs'];
+
                $GLOBALS['TSFE']->config['INTincScript'][$substKey] = array (
-                       'file' => $conf['includeLibs'],
+                       'file' => $includeLibs,
                        'conf' => $conf,
                        'cObj' => serialize($this->cObj),
                        'type' => 'FUNC'