1. 1.16.x includes/file.inc FILE_CREATE_DIRECTORY
  2. 1.17.x includes/file.inc FILE_CREATE_DIRECTORY
  3. 1.18.x includes/file.inc FILE_CREATE_DIRECTORY

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

Related topics

File

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

Code

define('FILE_CREATE_DIRECTORY', 1)