constant FILE_CREATE_DIRECTORY

Flag used by file_prepare_directory() -- create directory if not present.

Related topics

22 uses of FILE_CREATE_DIRECTORY
color_scheme_form_submit in drupal/modules/color/color.module
Form submission handler for color_scheme_form().
DrupalUnitTestCase::setUp in drupal/modules/simpletest/drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::prepareEnvironment in drupal/modules/simpletest/drupal_web_test_case.php
Prepares the current environment for running the test.
drupal_build_css_cache in drupal/includes/common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_js_cache in drupal/includes/common.inc
Aggregates JavaScript files into a cache file in the files directory.

... See full list

File

drupal/includes/file.inc, line 41
API for handling file uploads and server file management.

Code

define('FILE_CREATE_DIRECTORY', 1);