file_directory_path

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/file.inc, строка 712

Версии
5 – 6
file_directory_path()

Определяет адрес по умолчанию для папки 'files' (папка хранения файлов, загруженных пользователями и т.п.)

Возвращаемое значение

Строка, содержащая адрес папки 'files'

Связанные темы

▾ 16 функции вызывают 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. It loads the CSS in order, with 'core' CSS first, then 'module' CSS, then 'theme' CSS files. This ensures proper cascading of styles...
fileupload_submit in developer/examples/fileupload.module
Implementation of hook_submit().
fileupload_view in developer/examples/fileupload.module
Implementation of hook_view.
file_check_directory in includes/file.inc
Проверка каталога на существование и доступность для записи.
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
Формирует путь для скачивания файла.
file_directory_temp in includes/file.inc
Определеляет папку по умолчанию для хранения временных файлов.
hook_submit in developer/hooks/node.php
This is a hook used by node modules. It is called after validation has succeeded and before insert/update. It is used to for actions which must happen only if the node is to be saved. Usually, $node is changed in some way and then the actual saving of...
system_file_system_settings in modules/system/system.module
system_performance_settings in modules/system/system.module
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
system_theme_settings in modules/system/system.module
Menu callback; display theme configuration for entire site and individual themes.
upload_form_alter in modules/upload/upload.module
upload_menu in modules/upload/upload.module
Реализация hook_menu().
user_admin_settings in modules/user/user.module

Код

<?php
function file_directory_path() {
  return variable_get('file_directory_path', 'files');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему