summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-12-20Clean elsesGabriel Caruso1-4/+2
2017-09-25Merge branch '3.1-stable' into developAndrey Andreev1-1/+1
2017-07-26[ci skip] Close #5206Andrey Andreev1-1/+1
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-12-14Drop all PHP 5.3-related codeAndrey Andreev1-1/+1
2016-12-01Remove a function_exists('escapeshellarg') check from CI_UploadAndrey Andreev1-3/+1
This didn't originally exist, but was changed due to #1494. We no longer tolerate such broken environments
2016-10-31[ci skip] Fix #4887Andrey Andreev1-13/+23
2016-08-22Fix CI_Upload errors on PHP 7.1Andrey Andreev1-3/+20
2016-07-28Remove dead code written for PHP 5.2Andrey Andreev1-27/+14
2016-07-19Merge pull request #4705 from tianhe1986/develop_upload_raw_nameAndrey Andreev1-1/+1
Improve #4691
2016-07-06Merge pull request #4691 from chestnutprog/developAndrey Andreev1-1/+1
[ci skip] Fix a bug in CI_Upload::data()
2016-05-20Merge pull request #4638 from kasimtan/phpdoc_fixesAndrey Andreev1-1/+1
[ci skip] Fixed PHPDoc parameter name and type discrepancies
2016-02-04Fix #4430Andrey Andreev1-0/+6
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-1/+1
Partial changes from PR #4016
2015-07-23Fix an issue with CI_Upload max filesizeAndrey Andreev1-0/+16
Reported via the forums: http://forum.codeigniter.com/thread-62510.html
2015-07-09Fix #3965Andrey Andreev1-9/+3
2015-06-22Alter CI_Upload logging levelsAndrey Andreev1-23/+22
Close #3920
2015-01-22Merge pull request #3490 from vlakoff/file_endingsAndrey Andreev1-3/+0
[ci skip] Remove closing blocks at end of PHP files
2015-01-21[ci skip] Whitespace removalAndrey Andreev1-3/+0
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-08-27Close #3205Andrey Andreev1-18/+4
2014-08-06Change name didn't work if reset initialization it's trueJoseba Juániz1-11/+14
If user initializes the upload library with the reset flag as true, the uploaded file doesn't change it's name, it's neccesary to initialize or change the $_file_name_override every time.
2014-02-26Don't use error suppression on is_dir(), file_exists()Andrey Andreev1-1/+1
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev1-1/+1
2014-02-25Add array notation support for file field names in CI_UploadAndrey Andreev1-7/+28
Requested in #1691
2014-02-21[ci skip] Alter a docblockAndrey Andreev1-1/+1
2014-02-21CI_Upload changesAndrey Andreev1-153/+129
- Method chaining support. - A more abstract resetting of the default settings. - Added an option to initialize() to disable resetting to default settings. - Removed method mimes_types() and slightly optimized chunks of code where it was used. - Added the ability to pass allowed_types as an array.
2014-02-20Don't use error suppression on ini_get() eitherAndrey Andreev1-1/+1
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-08Optimize get_instance() calls/assignmentsAndrey Andreev1-10/+13
2014-01-08A tiny improvement in CI_Upload::do_xss_clean()Andrey Andreev1-2/+1
2013-10-21Add CI_Upload:: optionAndrey Andreev1-1/+9
2013-09-13Improvements to safe_mode detection (it doesn't exist in PHP 5.4)Andrey Andreev1-1/+1
2013-08-06Various typos and tabs adjustmentsvlakoff1-1/+1
2013-07-17Merge pull request #2417 from thefuzzy0ne/fix/upload_dryAndrey Andreev1-9/+5
Fix/upload dry
2013-06-25New var name to make it more comprehensiveAdrian1-7/+10
Changes to follow the styleguide, proposed by narfbg (thanks to him)
2013-06-24Add a config var to let the choice of having the lower case on the ↵Adrian1-1/+13
extensions when uploading. The default value is set to FALSE.
2013-06-24Force the file extension to lower caseAdrian1-2/+2
2013-04-01Merge pull request #2369 from vlakoff/develop-2Andrey Andreev1-1/+0
Some cleanup related to mt_rand()
2013-03-30Reverted indenting spaces back to tabs.Darren Benney1-9/+9
(My fault - Sorry!)
2013-03-30Made set_error() method DRY.Darren Benney1-14/+10
2013-03-30Modified do_upload() to use UPLOAD_ERR constants.Darren Benney1-7/+7
Modified switchcase in the do_upload() use the UPLOAD_ERR_* constants, instead of just using an integer, and then commenting out the constant beside it.