Skip to content

Commit ef57be6

Browse files
authored
Update Foxml.php
1 parent f10486e commit ef57be6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/StreamWrapper/Foxml.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ protected function getLocalPath($uri = NULL) {
9696
$realpath = $this->fileSystem->realpath($path);
9797
if (!$realpath) {
9898

99-
// This file does not yet exist.
100-
$realpath = $this->fileSystem->realpath(dirname($path)) . '/' .
99+
// This file does not yet exist, or $path references something remote.
100+
$realpath = $this->fileSystem->dirname($path) . '/' .
101101
$this->fileSystem->basename($path);
102102
}
103103

0 commit comments

Comments
 (0)