constant FILE_CREATE_DIRECTORY

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

Related topics

File interface
Common file handling functions.

File

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

Code

const FILE_CREATE_DIRECTORY = 1;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!file.inc/constant/FILE_CREATE_DIRECTORY/8.1.x