Skip navigation
Help

file_default_scheme

7 file.inc file_default_scheme()

Get the default file stream implementation.

Return value

'public', 'private' or any other file scheme defined as the default.

Related topics

21 calls to file_default_scheme()

17 string references to 'file_default_scheme'

File

drupal/includes/file.inc, line 260
API for handling file uploads and server file management.

Code

function file_default_scheme() {
  return variable_get('file_default_scheme', 'public');
}