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/includes/file.inc, line 51
API for handling file uploads and server file management.

Code

define('FILE_EXISTS_RENAME', 0)

Related topics