Browse Source

realPath should contain the path to the file we want to read, e.g. the version and not the original file

remotes/origin/users-ajaxloadgroups
Bjoern Schiessle 11 years ago
committed by Lukas Reschke
parent
commit
966eb4b084
  1. 2
      apps/encryption/lib/crypto/encryption.php

2
apps/encryption/lib/crypto/encryption.php

@ -170,7 +170,7 @@ class Encryption implements IEncryptionModule {
*/
public function begin($path, $user, $mode, array $header, array $accessList) {
$this->path = $this->getPathToRealFile($path);
$this->realPath = $this->path;
$this->realPath = $path;
$this->accessList = $accessList;
$this->user = $user;
$this->isWriteOperation = false;

Loading…
Cancel
Save