Index: typo3/sysext/cms/tslib/content/class.tslib_content_phpscript_internal.php =================================================================== --- typo3/sysext/cms/tslib/content/class.tslib_content_phpscript_internal.php (revision 9259) +++ typo3/sysext/cms/tslib/content/class.tslib_content_phpscript_internal.php (revision ) @@ -42,7 +42,12 @@ * @return string Output */ public function render($conf = array(), $ext) { - $incFile = $GLOBALS['TSFE']->tmpl->getFileName($conf['file']); + + $file = isset($conf['file.']) + ? $this->cObj->stdWrap($conf['file'], $conf['file.']) + : $conf['file']; + + $incFile = $GLOBALS['TSFE']->tmpl->getFileName($file); $content = ''; if ($incFile && $GLOBALS['TSFE']->checkFileInclude($incFile)) { $substKey = $ext . '_SCRIPT.' . $GLOBALS['TSFE']->uniqueHash();