Project

General

Profile

Bug #14153 » 0000075-corrected_patch_func_copy.diff

Administrator Admin, 2004-05-11 20:58

View differences:

class.t3lib_extfilefunc.php.patched Tue May 11 21:01:04 2004
if ($this->checkPathAgainstMounts($theDestFile) && $this->checkPathAgainstMounts($theFile)) {
if ($this->PHPFileFunctions) {
copy ($theFile,$theDestFile);
chmod ($theDestFile, fileperms($theFile));
} else {
$cmd = 'cp "'.$theFile.'" "'.$theDestFile.'"';
$cmd = 'cp -p"'.$theFile.'" "'.$theDestFile.'"';
exec($cmd);
}
clearstatcache();
(1-1/2)