Project

General

Profile

Feature #16358 ยป 3863.diff

Administrator Admin, 2006-09-04 07:32

View differences:

typo3_src-4.0.1/typo3/sysext/install/mod/class.tx_install.php 2006-09-03 17:02:26.000000000 +0200
}
}
// 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('<strong><span style="color:navy;">','</span></strong>');
$fileFound = 1;
......
'.PATH_site.'<input type="text" name="TYPO3_INSTALL[FILE][EDIT_path]" value="'.$this->INSTALL['FILE']['EDIT_path'].'"><input type="submit" name="" value="Set">
</form>';
}
// create link for deleting temp_CACHED files
$fileList .= '<br /><br /><a href="'.$this->action.'&TYPO3_INSTALL[delTempCached]=1">Delete temp_CACHED* files</a>';
if ($fileFound && @is_file($this->INSTALL['typo3conf_files'])) {
$this->headerStyle = '
<style type="text/css"><!--
    (1-1/1)