fix for recover files in subfolder
This commit is contained in:
parent
d40d6aa358
commit
3793e4d2d6
|
@ -1406,7 +1406,7 @@ class Util {
|
||||||
foreach ($dirContent as $item) {
|
foreach ($dirContent as $item) {
|
||||||
$filePath = substr($item['path'], 25);
|
$filePath = substr($item['path'], 25);
|
||||||
if ($item['type'] == 'dir') {
|
if ($item['type'] == 'dir') {
|
||||||
$this->addRecoveryKey($filePath . '/', $privateKey);
|
$this->recoverAllFiles($filePath . '/', $privateKey);
|
||||||
} else {
|
} else {
|
||||||
$file = substr($filePath, 0, -4);
|
$file = substr($filePath, 0, -4);
|
||||||
$this->recoverFile($file, $privateKey);
|
$this->recoverFile($file, $privateKey);
|
||||||
|
|
Loading…
Reference in New Issue