fixing unencrypted file size
This commit is contained in:
parent
a74ee67476
commit
9d8c07850d
1 changed files with 4 additions and 1 deletions
|
@ -88,8 +88,11 @@ class Encryption extends Wrapper {
|
|||
|
||||
$info = $this->getCache()->get($path);
|
||||
|
||||
if (isset($this->unencryptedSize[$fullPath]) && isset($info['fileid'])) {
|
||||
if (isset($this->unencryptedSize[$fullPath])) {
|
||||
$size = $this->unencryptedSize[$fullPath];
|
||||
}
|
||||
|
||||
if (isset($info['fileid'])) {
|
||||
$info['encrypted'] = true;
|
||||
$info['size'] = $size;
|
||||
$this->getCache()->put($path, $info);
|
||||
|
|
Loading…
Reference in a new issue