|
@@ 1213-1215 (lines=3) @@
|
| 1210 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1211 |
|
} |
| 1212 |
|
|
| 1213 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1214 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1215 |
|
} |
| 1216 |
|
|
| 1217 |
|
if (!$dir['write']) { |
| 1218 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1248-1250 (lines=3) @@
|
| 1245 |
|
return $this->setError(elFinder::ERROR_INVALID_NAME); |
| 1246 |
|
} |
| 1247 |
|
|
| 1248 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1249 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1250 |
|
} |
| 1251 |
|
|
| 1252 |
|
$path = $this->decode($dst); |
| 1253 |
|
|
|
@@ 1329-1331 (lines=3) @@
|
| 1326 |
|
return $this->setError(elFinder::ERROR_COPY, '#'.$hash, elFinder::ERROR_PERM_DENIED); |
| 1327 |
|
} |
| 1328 |
|
|
| 1329 |
|
if (($file = $this->file($hash)) == false) { |
| 1330 |
|
return $this->setError(elFinder::ERROR_COPY, elFinder::ERROR_FILE_NOT_FOUND); |
| 1331 |
|
} |
| 1332 |
|
|
| 1333 |
|
$path = $this->decode($hash); |
| 1334 |
|
$dir = $this->_dirname($path); |
|
@@ 1362-1364 (lines=3) @@
|
| 1359 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
| 1360 |
|
} |
| 1361 |
|
|
| 1362 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1363 |
|
return $this->setError(elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1364 |
|
} |
| 1365 |
|
|
| 1366 |
|
if (!$dir['write']) { |
| 1367 |
|
return $this->setError(elFinder::ERROR_PERM_DENIED); |
|
@@ 1466-1468 (lines=3) @@
|
| 1463 |
|
$name = $file['name']; |
| 1464 |
|
$errpath = $volume->path($src); |
| 1465 |
|
|
| 1466 |
|
if (($dir = $this->dir($dst)) == false) { |
| 1467 |
|
return $this->setError($err, $errpath, elFinder::ERROR_TRGDIR_NOT_FOUND, '#'.$dst); |
| 1468 |
|
} |
| 1469 |
|
|
| 1470 |
|
if (!$dir['write'] || !$file['read']) { |
| 1471 |
|
return $this->setError($err, $errpath, elFinder::ERROR_PERM_DENIED); |