constant FILE_EXISTS_RENAME

  1. 7.x drupal/includes/file.inc FILE_EXISTS_RENAME
  2. 5.x drupal/includes/file.inc FILE_EXISTS_RENAME
  3. 6.x drupal/includes/file.inc FILE_EXISTS_RENAME
  4. 8.x drupal/core/includes/file.inc FILE_EXISTS_RENAME

Flag for dealing with existing files: Appends number until name is unique.

File

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

Code

const FILE_EXISTS_RENAME = 0;

Related topics