You are here

constant FILE_CREATE_DIRECTORY in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/file.inc \FILE_CREATE_DIRECTORY
  2. 4 includes/file.inc \FILE_CREATE_DIRECTORY
  3. 5 includes/file.inc \FILE_CREATE_DIRECTORY
  4. 6 includes/file.inc \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 modules/color/color.module
Form submission handler for color_scheme_form().
DrupalUnitTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::prepareEnvironment in modules/simpletest/drupal_web_test_case.php
Prepares the current environment for running the test.
drupal_build_css_cache in includes/common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_js_cache in includes/common.inc
Aggregates JavaScript files into a cache file in the files directory.

... See full list

File

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

Code

define('FILE_CREATE_DIRECTORY', 1);