src build elFinder-2.1-2d1a65d

This commit is contained in:
nao-pon
2017-02-15 16:42:25 +09:00
parent 10d0e5de11
commit 4767e52061
6 changed files with 76 additions and 35 deletions
+1 -5
View File
@@ -1102,14 +1102,10 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
}
} else {
$dstDir = dirname($path);
$res = false;
$result = array();
foreach($ls as $name) {
$target = $dstDir.DIRECTORY_SEPARATOR.$name;
if (is_dir($target)) {
$this->delTree($target);
}
if (rename($dir.DIRECTORY_SEPARATOR.$name, $target)) {
if (self::localMoveRecursive($dir.DIRECTORY_SEPARATOR.$name, $target, true, $this->options['copyJoin'])) {
$result[] = $target;
}
}