| @@ 1326-1330 (lines=5) @@ | ||
| 1323 | ||
| 1324 | // find symlinks and check extracted items |
|
| 1325 | $checkRes = $this->checkExtractItems($dir); |
|
| 1326 | if ($checkRes['symlinks']) { |
|
| 1327 | $this->rmdirRecursive($dir); |
|
| 1328 | ||
| 1329 | return $this->setError(array_merge($this->error, [elFinder::ERROR_ARC_SYMLINKS])); |
|
| 1330 | } |
|
| 1331 | $this->archiveSize = $checkRes['totalSize']; |
|
| 1332 | if ($checkRes['rmNames']) { |
|
| 1333 | foreach ($checkRes['rmNames'] as $name) { |
|
| @@ 1121-1125 (lines=5) @@ | ||
| 1118 | ||
| 1119 | // find symlinks and check extracted items |
|
| 1120 | $checkRes = $this->checkExtractItems($dir); |
|
| 1121 | if ($checkRes['symlinks']) { |
|
| 1122 | self::localRmdirRecursive($dir); |
|
| 1123 | ||
| 1124 | return $this->setError(array_merge($this->error, [elFinder::ERROR_ARC_SYMLINKS])); |
|
| 1125 | } |
|
| 1126 | $this->archiveSize = $checkRes['totalSize']; |
|
| 1127 | if ($checkRes['rmNames']) { |
|
| 1128 | foreach ($checkRes['rmNames'] as $name) { |
|