Skip stray part files during initial encryption
This commit is contained in:
parent
fa9834372d
commit
7c3c26ab94
|
@ -279,6 +279,10 @@ class Util {
|
||||||
while (false !== ($file = readdir($handle))) {
|
while (false !== ($file = readdir($handle))) {
|
||||||
|
|
||||||
if ($file !== "." && $file !== "..") {
|
if ($file !== "." && $file !== "..") {
|
||||||
|
// skip stray part files
|
||||||
|
if (Helper::isPartialFilePath($file)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$filePath = $directory . '/' . $this->view->getRelativePath('/' . $file);
|
$filePath = $directory . '/' . $this->view->getRelativePath('/' . $file);
|
||||||
$relPath = Helper::stripUserFilesPath($filePath);
|
$relPath = Helper::stripUserFilesPath($filePath);
|
||||||
|
|
Loading…
Reference in New Issue