Project

General

Profile

Bug #25374 » recursion_error_in_typoscript.patch

André Spindler, 2011-03-31 14:31

View differences:

typo3_src-4.5.2_patch/t3lib/class.t3lib_tsparser.php 2011-03-23 13:26:00.000000000 +0100
$extractedFileNames[] = $realFileName;
// recursive call to detected nested commented include statements
$fileContentString = self::extractIncludes($fileContentString, ++$cycle_counter, $extractedFileNames);
$fileContentString = self::extractIncludes($fileContentString, $cycle_counter + 1, $extractedFileNames);
if (!t3lib_div::writeFile($realFileName, $fileContentString)) {
throw new Exception(sprintf('Could not write file "%s"', $realFileName));
......
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_tsparser.php']);
}
?>
?>
    (1-1/1)