Bug #21242 ยป 12195.diff
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();
|