You are here

public function DrupalPublicStreamWrapper::getDirectoryPath in Drupal 7

Implements abstract public function getDirectoryPath()

Overrides DrupalLocalStreamWrapper::getDirectoryPath

1 call to DrupalPublicStreamWrapper::getDirectoryPath()
DrupalPublicStreamWrapper::getExternalUrl in includes/stream_wrappers.inc
Overrides getExternalUrl().

File

includes/stream_wrappers.inc, line 918
Drupal stream wrapper interface.

Class

DrupalPublicStreamWrapper
Drupal public (public://) stream wrapper class.

Code

public function getDirectoryPath() {
  return variable_get('file_public_path', conf_path() . '/files');
}