constant FILE_CREATE_DIRECTORY

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

Related topics

File

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

Code

define('FILE_CREATE_DIRECTORY', 1)