function file_directory_path in Drupal 4
Same name and namespace in other branches
- 5 includes/file.inc \file_directory_path()
- 6 includes/file.inc \file_directory_path()
Determine the default 'files' directory.
Return value
A string containing the path to Drupal's 'files' directory.
Related topics
8 calls to file_directory_path()
- file_check_directory in includes/
file.inc - Check that the directory exists and is writable. Directories need to have execute permissions to be considered a directory by FTP servers, etc.
- file_create_path in includes/
file.inc - Make sure the destination is a complete path and resides in the file system directory, if it is not prepend the file system directory.
- file_create_url in includes/
file.inc - Create the download path to a file.
- file_directory_temp in includes/
file.inc - Determine the default temporary directory.
- system_theme_settings in modules/
system.module - Menu callback; display theme configuration for entire site and individual themes.
1 string reference to 'file_directory_path'
- system_theme_settings in modules/
system.module - Menu callback; display theme configuration for entire site and individual themes.
File
- includes/
file.inc, line 711 - API for handling file uploads and server file management.
Code
function file_directory_path() {
return variable_get('file_directory_path', 'files');
}