--- C:\htdocs\clarity_ag381\typo3\sysext\cms\tslib\pagegen.php 2007-09-18 17:21:40.554876800 +0300 +++ C:\TYPO3\Typo3_4.2\typo3_src+dummy-4.2.0alpha1\typo3\sysext\cms\tslib\pagegen.php 2007-09-06 19:30:34.000000000 +0300 @@ -45,9 +45,8 @@ // ********************************* // Initialization of some variables // ********************************* -//TSpagegen::pagegenInit(); -$TSpagegen = t3lib_div::makeInstance('TSpagegen'); -$TSpagegen->pagegenInit(); +TSpagegen::pagegenInit(); + // ************************* // Global content object... @@ -58,8 +57,7 @@ // ****************************** // LIBRARY INCLUSION, TypoScript // ****************************** -//$temp_incFiles=TSpagegen::getIncFiles(); -$temp_incFiles=$TSpagegen->getIncFiles(); +$temp_incFiles=TSpagegen::getIncFiles(); reset($temp_incFiles); while(list(,$temp_file)=each($temp_incFiles)) { include_once('./'.$temp_file); @@ -76,8 +74,7 @@ // If this is an array, it's a sign that this script is included in order to include certain PHP_SCRIPT_INT-scripts if (!$GLOBALS['TSFE']->isINTincScript()) { $TT->push('pagegen.php, render'); -// TSpagegen::renderContent(); - $TSpagegen->renderContent(); + TSpagegen::renderContent(); $GLOBALS['TSFE']->setAbsRefPrefix(); $TT->pull(); }