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

This commit is contained in:
Bjoern Schiessle 2016-02-09 16:32:34 +01:00 committed by Lukas Reschke
parent 5ccb9dfa7e
commit 966eb4b084
1 changed files with 1 additions and 1 deletions

View File

@ -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;