Project

General

Profile

Bug #21242 ยป 12195.diff

Administrator Admin, 2009-10-19 15:49

View differences:

t3lib/class.t3lib_extfilefunc.php (Arbeitskopie)
if ($this->checkIfAllowed($fI['fileext'], $theDest, $fI['file'])) {
if ($this->checkPathAgainstMounts($theDestFile) && $this->checkPathAgainstMounts($theFile)) {
if ($this->PHPFileFunctions) {
rename($theFile, $theDestFile);
@rename($theFile, $theDestFile);
} else {
$cmd = 'mv "'.$theFile.'" "'.$theDestFile.'"';
exec($cmd);
......
if ($this->checkIfFullAccess($theDest) || $this->is_webPath($theDestFile)==$this->is_webPath($theFile)) { // // no moving of folders between spaces
if ($this->checkPathAgainstMounts($theDestFile) && $this->checkPathAgainstMounts($theFile)) {
if ($this->PHPFileFunctions) {
rename($theFile, $theDestFile);
@rename($theFile, $theDestFile);
} else {
$cmd = 'mv "'.$theFile.'" "'.$theDestFile.'"';
$errArr = array();
    (1-1/1)