Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
30e56c5d
Commit
30e56c5d
authored
Nov 13, 2013
by
Jennifer Hodgdon
Browse files
Issue
#2084535
by sivaji: Fix constants in file_copy docs
parent
08715442
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/includes/file.inc
View file @
30e56c5d
...
...
@@ -601,7 +601,7 @@ function file_valid_uri($uri) {
* - If file already exists in $destination either the call will error out,
* replace the file or rename the file based on the $replace parameter.
* - If the $source and $destination are equal, the behavior depends on the
* $replace parameter. FILE_EXIST_REPLACE will error out. FILE_EXIST_RENAME
* $replace parameter. FILE_EXIST
S
_REPLACE will error out. FILE_EXIST
S
_RENAME
* will rename the file until the $destination is unique.
* - Provides a fallback using realpaths if the move fails using stream
* wrappers. This can occur because PHP's copy() function does not properly
...
...
core/modules/file/file.module
View file @
30e56c5d
...
...
@@ -137,7 +137,7 @@ function file_usage() {
* - If file already exists in $destination either the call will error out,
* replace the file or rename the file based on the $replace parameter.
* - If the $source and $destination are equal, the behavior depends on the
* $replace parameter. FILE_EXIST_REPLACE will error out. FILE_EXIST_RENAME
* $replace parameter. FILE_EXIST
S
_REPLACE will error out. FILE_EXIST
S
_RENAME
* will rename the file until the $destination is unique.
* - Adds the new file to the files database. If the source file is a
* temporary file, the resulting file will also be a temporary file. See
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment