From ef57be6ba00c303d5c013adbda0731187dfb134c Mon Sep 17 00:00:00 2001 From: Adam <607975+adam-vessey@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:48:31 -0400 Subject: [PATCH] Update Foxml.php --- src/StreamWrapper/Foxml.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/StreamWrapper/Foxml.php b/src/StreamWrapper/Foxml.php index 4a4d834..5eecf75 100644 --- a/src/StreamWrapper/Foxml.php +++ b/src/StreamWrapper/Foxml.php @@ -96,8 +96,8 @@ protected function getLocalPath($uri = NULL) { $realpath = $this->fileSystem->realpath($path); if (!$realpath) { - // This file does not yet exist. - $realpath = $this->fileSystem->realpath(dirname($path)) . '/' . + // This file does not yet exist, or $path references something remote. + $realpath = $this->fileSystem->dirname($path) . '/' . $this->fileSystem->basename($path); }