Browse files

Merge pull request #2237 from boazrymland/master

A little update to saveAs() documentation for better clarify/verboseness
[ci skip]
  • Loading branch information...
2 parents 783a2ea + 5d43578 commit c4c0cb0d6a011c789a44695ebb2c72ac84bf5470 @cebe cebe committed Mar 21, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 framework/web/CUploadedFile.php
@@ -183,6 +183,8 @@ public function __toString()
* Saves the uploaded file.
+ * Note: this method uses php's move_uploaded_file() method. As such, if the target file ($file)
+ * already exists it is overwritten.
* @param string $file the file path used to save the uploaded file
* @param boolean $deleteTempFile whether to delete the temporary file after saving.
* If true, you will not be able to save the uploaded file again in the current request.

0 comments on commit c4c0cb0

Please sign in to comment.