diff -ur typo3_src-4.0.1.orig/typo3/sysext/install/mod/class.tx_install.php typo3_src-4.0.1/typo3/sysext/install/mod/class.tx_install.php --- typo3_src-4.0.1.orig/typo3/sysext/install/mod/class.tx_install.php 2006-07-31 13:51:49.000000000 +0200 +++ typo3_src-4.0.1/typo3/sysext/install/mod/class.tx_install.php 2006-09-03 17:02:26.000000000 +0200 @@ -909,13 +909,17 @@ } } - // Filelist: $typo3conf_files = t3lib_div::getFilesInDir($EDIT_path,'',1,1); reset($typo3conf_files); $lines=array(); $fileFound = 0; while(list($k,$file)=each($typo3conf_files)) { + // delete temp_CACHED files if option is set + if ($this->INSTALL['delTempCached'] && preg_match('|/temp_CACHED_[a-z0-9_]+\.php|', $file)) { + unlink($file); + continue; + } if ($this->INSTALL['typo3conf_files'] && !strcmp($this->INSTALL['typo3conf_files'],$file)) { $wrap=array('',''); $fileFound = 1; @@ -930,7 +934,10 @@ '.PATH_site.' '; } - + + // create link for deleting temp_CACHED files + $fileList .= '

Delete temp_CACHED* files'; + if ($fileFound && @is_file($this->INSTALL['typo3conf_files'])) { $this->headerStyle = '