diff --git a/inc/class-local-stream-wrapper.php b/inc/class-local-stream-wrapper.php index c961164f..93565fb9 100644 --- a/inc/class-local-stream-wrapper.php +++ b/inc/class-local-stream-wrapper.php @@ -143,7 +143,7 @@ protected function getLocalPath( $uri = null ) : string { $uri = $this->uri; } $path = $this->getDirectoryPath() . '/' . $this->getTarget( $uri ); - $realpath = str_replace( '/', DIRECTORY_SEPARATOR, $path ); // ensure check against realpath passes on Windows machines + $realpath = str_replace( '/', DIRECTORY_SEPARATOR, $path ); // ensure check against realpath passes on Windows machines $directory = realpath( $this->getDirectoryPath() );