function file_directory_path in Drupal 6
Same name and namespace in other branches
- 4 includes/file.inc \file_directory_path()
- 5 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
15 calls to file_directory_path()
- color_scheme_form_submit in modules/
color/ color.module - Submit handler for color change form.
- drupal_get_css in includes/
common.inc - Returns a themed representation of all stylesheets that should be attached to the page.
- drupal_get_js in includes/
common.inc - Returns a themed presentation of all JavaScript code for the current page.
- file_check_directory in includes/
file.inc - Checks whether a directory exists and is writable.
- 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.
2 string references to 'file_directory_path'
- system_theme_settings in modules/
system/ system.admin.inc - Form builder; display theme configuration for entire site and individual themes.
- system_update_6046 in modules/
system/ system.install - Ensure that the file_directory_path variable is set (using the old 5.x default, if necessary), so that the changed 6.x default won't break existing sites.
File
- includes/
file.inc, line 1153 - API for handling file uploads and server file management.
Code
function file_directory_path() {
return variable_get('file_directory_path', conf_path() . '/files');
}