We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10486e commit ef57be6Copy full SHA for ef57be6
src/StreamWrapper/Foxml.php
@@ -96,8 +96,8 @@ protected function getLocalPath($uri = NULL) {
96
$realpath = $this->fileSystem->realpath($path);
97
if (!$realpath) {
98
99
- // This file does not yet exist.
100
- $realpath = $this->fileSystem->realpath(dirname($path)) . '/' .
+ // This file does not yet exist, or $path references something remote.
+ $realpath = $this->fileSystem->dirname($path) . '/' .
101
$this->fileSystem->basename($path);
102
}
103
0 commit comments