We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d7b184 commit 38ef0ffCopy full SHA for 38ef0ff
src/Controller/PathFileController.php
@@ -40,7 +40,7 @@ public function file(PathFileEntityInterface $path_file_entity) {
40
$fid = $path_file_entity->getFid();
41
$file = File::load($fid);
42
$uri = $file->getFileUri();
43
- $server_path = $this->file_system->realpath($uri);
+ $server_path = $this->fileSystem->realpath($uri);
44
45
return new BinaryFileResponse($server_path);
46
}
0 commit comments