JUpload::dstfinal
This method: - Replaces some potentially dangerous characters by '_' (in the given name an relative path) - Checks if a files of the same name already exists.
- If no: no problem. - If yes, and the duplicate class param is set to rename, the file is renamed. - If yes, and the duplicate class param is set to overwrite, the file is not renamed. The existing one will be erased. - If yes, and the duplicate class param is set to reject, an error is thrown.
Signature
private function dstfinal(&
$name,
&
$subdir )
Parameters
$name
—$subdir
—