function file_directory_path
6.x 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 drupal-6.x/
modules/ color/ color.module - Submit handler for color change form.
- drupal_get_css in drupal-6.x/
includes/ common.inc - Returns a themed representation of all stylesheets that should be attached to the page.
- drupal_get_js in drupal-6.x/
includes/ common.inc - Returns a themed presentation of all JavaScript code for the current page.
- file_check_directory in drupal-6.x/
includes/ file.inc - Checks whether a directory exists and is writable.
- file_create_path in drupal-6.x/
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.
3 string references to 'file_directory_path'
- system_file_system_settings in drupal-6.x/
modules/ system/ system.admin.inc - Form builder; Configure the site file handling.
- system_theme_settings in drupal-6.x/
modules/ system/ system.admin.inc - Form builder; display theme configuration for entire site and individual themes.
- system_update_6046 in drupal-6.x/
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
- drupal-6.x/
includes/ file.inc, line 1102 - API for handling file uploads and server file management.
Code
function file_directory_path() {
return variable_get('file_directory_path', conf_path() . '/files');
}