file_directory_path

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 file_directory_path()

Determine the default 'files' directory.

Rückgabewert

A string containing the path to Drupal's 'files' directory.

Verwandte Themen

▾ 14 functions call 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
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_file_system_settings in modules/system/system.admin.inc
Form builder; Configure the site file handling.
system_performance_settings in modules/system/system.admin.inc
Form builder; Configure site performance settings.
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
upload_form_alter in modules/upload/upload.module
upload_node_form_submit in modules/upload/upload.module
Save new uploads and store them in the session to be associated to the node on upload_save.
user_admin_settings in modules/user/user.admin.inc
Form builder; Configure user settings for this site.

Code

includes/file.inc, line 1009

<?php
function file_directory_path() {
  return variable_get('file_directory_path', conf_path() . '/files');
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen