Project

General

Profile

Feature #24052 » tslib_content_PHP_SCRIPT_INT_EXT.diff

Administrator Admin, 2010-11-14 18:11

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_phpscript_internal.php (revision )
* @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();
(1-1/3)