From 616dab8bcaffb3ae2c22a51c84314ebe259401d4 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 16 Feb 2009 15:44:32 +0000 Subject: Added the ability to pass $config['file_name'] for the File Uploading Class and rename the uploaded file. --- user_guide/libraries/file_uploading.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'user_guide/libraries') diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 652aaa528..1051dcbb1 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -259,6 +259,16 @@ $this->upload->initialize($config); + +file_name +None +Desired file name + +

If set CodeIgniter will rename the uploaded file to this name.

+

Note:The filename should not include a file extension.

+ + + overwrite FALSE -- cgit v1.2.3-24-g4f1b