Skip to content

Commit

Permalink
[Transfer] fixes export files access
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Nov 29, 2022
1 parent a85457c commit 67684a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added files/transfer/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/main/transfer/Manager/TransferManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function export(ExportFile $exportFile): string
$fs->mkdir($this->filesDir);
}

$exportPath = $this->filesDir.$exportFile->getUuid();
$exportPath = $this->filesDir.DIRECTORY_SEPARATOR.$exportFile->getUuid();
if ($fs->exists($exportPath)) {
$fs->remove($exportPath);
}
Expand Down

0 comments on commit 67684a9

Please sign in to comment.