You are here

function DrupalRemoteStreamWrapper::getLocalPath in Remote Stream Wrapper 7

Return the local filesystem path.

Parameters

$uri: Optional URI, supplied when doing a move or rename.

File

./remote_stream_wrapper.inc, line 489

Class

DrupalRemoteStreamWrapper
Stream wrapper to support local files.

Code

function getLocalPath($uri = NULL) {
  if (!isset($uri)) {
    $uri = $this->uri;
  }
  return $uri;
}