Skip navigation
Help

FILE_EXISTS_REPLACE

  1. drupal
    1. 6 drupal/includes/file.inc
    2. 7 drupal/includes/file.inc

Flag for dealing with existing files: Replace the existing file.

File

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

Code

define('FILE_EXISTS_REPLACE', 1)

Related topics