diff options
author | Andrey Andreev <narf@devilix.net> | 2013-06-28 14:04:57 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2013-06-28 14:04:57 +0200 |
commit | 58706adfae1f8aea16a3ee43d333991f1daf0484 (patch) | |
tree | f410bc72a2cfc3b5e7f11f5c830af1926da85b8f /user_guide_src/source/libraries | |
parent | cd9797a210089ea65b4d4b16db051d06188b66ed (diff) | |
parent | eac8b2f1e70e3155ae6bacbc37228a0a647a18be (diff) |
Merge pull request #2497 from yazuu/upload
Upload : change the file extension to lower case
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/file_uploading.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/file_uploading.rst b/user_guide_src/source/libraries/file_uploading.rst index c7965ae11..a92d3af34 100644 --- a/user_guide_src/source/libraries/file_uploading.rst +++ b/user_guide_src/source/libraries/file_uploading.rst @@ -198,6 +198,7 @@ Preference Default Value Options Descripti **file_name** None Desired file name If set CodeIgniter will rename the uploaded file to this name. The extension provided in the file name must also be an allowed file type. If no extension is provided in the original file_name will be used. +**file_ext_tolower** FALSE TRUE/FALSE (boolean) If set to TRUE, the file extension will be forced to lower case **overwrite** FALSE TRUE/FALSE (boolean) If set to true, if a file with the same name as the one you are uploading exists, it will be overwritten. If set to false, a number will be appended to the filename if another with the same name exists. |