@@ 2182-2188 (lines=7) @@ | ||
2179 | } |
|
2180 | ||
2181 | $dstpath = $this->decode($dst); |
|
2182 | if (isset($hashes[$name])) { |
|
2183 | $test = $this->decode($hashes[$name]); |
|
2184 | $file = $this->stat($test); |
|
2185 | } else { |
|
2186 | $test = $this->joinPathCE($dstpath, $name); |
|
2187 | $file = $this->isNameExists($test); |
|
2188 | } |
|
2189 | ||
2190 | $this->clearcache(); |
|
2191 | ||
@@ 2273-2279 (lines=7) @@ | ||
2270 | : $this->setError($err, $errpath, empty($file['thash']) ? elFinder::ERROR_PERM_DENIED : elFinder::ERROR_MKOUTLINK); |
|
2271 | } |
|
2272 | ||
2273 | if (isset($hashes[$name])) { |
|
2274 | $test = $this->decode($hashes[$name]); |
|
2275 | $stat = $this->stat($test); |
|
2276 | } else { |
|
2277 | $test = $this->joinPathCE($destination, $name); |
|
2278 | $stat = $this->isNameExists($test); |
|
2279 | } |
|
2280 | $this->clearcache(); |
|
2281 | $dstDirExists = false; |
|
2282 | if ($stat && $stat['name'] === $name) { // file exists and check filename for item ID based filesystem |