Project

General

Profile

Bug #19299 » 9307.diff

Administrator Admin, 2009-01-16 18:49

View differences:

t3lib/class.t3lib_extfilefunc.php (working copy)
$theFile = $this->is_directory($theFile);
if ($theFile) {
if ($this->checkPathAgainstMounts($theFile)) { // I choose not to append '/' to $theFile here as this will prevent us from deleting mounts!! (which makes sense to me...)
if ($this->actionPerms['deleteFolderRecursively'] && !$this->dont_use_exec_commands) {
if ($this->actionPerms['deleteFolderRecursively']) {
if (t3lib_div::rmdir($theFile,true)) {
$this->writelog(4,0,2,'Directory "%s" deleted recursively!',Array($theFile));
return TRUE;
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_extfilefunc.php']);
}
?>
?>
(2-2/2)