summaryrefslogtreecommitdiffstats
path: root/system/libraries
AgeCommit message (Collapse)AuthorFilesLines
2016-01-20Respect $config['cur_page'] variable for paginationjekkos1-1/+5
After upgrading to CI3 I noticed that developers are able to determine the current page counter for pagination based on * Explicit query string parameters * URI segment configuration In earlier versions a developer could still set the current page counter in the pagination lib directly which is useful if you want to use pagination with HTTP POST instead of GET. This could be done by passing $config['cur_page'] = '10'; to the pagination function for link generation. Currently this code has changed and will always try to check whether the uri segment is a valid number or not, even if the cur_page variable was passed in the associative array, and fallback to zero if it fails to validate that result. This can be easily resolved by checking whether the counter was already set with a valid number from the $config array before trying to resolve it from the uri segment. This fix give a developer more flexibility and stop CI from overwriting the externally set value with an incorrect one. Signed-off-by: jekkos <jeroen.peelaerts@gmail.com>
2016-01-20Fix #4391Andrey Andreev1-7/+11
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev38-38/+38
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev38-72/+72
2016-01-11[ci skip] Bump year to 2016Andrey Andreev38-76/+76
2016-01-11Fix #4374Andrey Andreev1-0/+12
2016-01-07Fix #4362Andrey Andreev2-2/+8
2015-12-30Fix #4343Andrey Andreev1-2/+1
2015-12-15Fix logical errors from af849696d43f5c3b68962af1ae5096151a6d9f1aAndrey Andreev3-4/+4
2015-12-15Really fix #4039Andrey Andreev1-1/+1
A typo from 8df6efd402180a6361b4dd619f5535d6c2bed334
2015-12-14Fix #4312Andrey Andreev1-6/+3
2015-12-12[ci skip] Proper error handling for Sessions on PHP 5Andrey Andreev5-78/+133
This was actually a PHP bug, see https://wiki.php.net/rfc/session.user.return-value Also related: #4039
2015-12-11Fix #4039Andrey Andreev1-0/+6
2015-11-24Use PHP7's random_bytes() when possibleAndrey Andreev1-0/+5
Close #4260
2015-11-16Fix #4244Andrey Andreev1-3/+28
2015-10-30Fix #4192Andrey Andreev1-5/+8
2015-10-18Fix #4179Andrey Andreev1-0/+4
2015-09-29Merge pull request #4126 from zoaked/patch-1Andrey Andreev1-1/+0
Persist config file rules when using FV reset_validation()
2015-09-16Fix #4116Andrey Andreev1-6/+6
Close #4117
2015-09-14Fix #4044Andrey Andreev1-5/+5
2015-09-10Change form validation library to allow the pipe character within square ↵rich1-1/+1
brackets
2015-08-31[ci skip] Fix #4091Andrey Andreev1-1/+1
2015-08-31Fix #4073Andrey Andreev1-7/+16
2015-08-31Fix #4066Andrey Andreev2-18/+6
2015-08-05Reduce once $config['query_toggle_count'] checkingbjjay1-6/+0
This checking can be done by calling set_sections method when initialize profiler .
2015-08-03Fix #4015Andrey Andreev1-1/+2
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev2-3/+3
Partial changes from PR #4016
2015-07-26Fix #4000Andrey Andreev1-1/+2
2015-07-24Fixed typosCalvin Tam4-4/+4
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-15Merge pull request #3715 from infinit89/patch-1Andrey Andreev1-1/+1
[ci skip] Fix pagination links with protocol-relative URLs
2015-07-09Fix #3965Andrey Andreev1-9/+3
2015-07-08[ci skip] Cleanup some whitespace in CI_Unit_testAndrey Andreev1-23/+23
2015-07-08Fix #3963Andrey Andreev1-3/+5
2015-07-06Merge pull request #3955 from ftwbzhao/ci3.0Andrey Andreev1-2/+2
key_prefix support for Cache increment() and decrement()
2015-07-06Added "is_resource" into the list of unit tests capable of being run.ftwbzhao1-1/+1
2015-07-05supported key_prefix on `increment` and `decrement`ftwbzhao1-2/+2
2015-06-22A small optimization in CI_Cache::is_supported()Andrey Andreev1-3/+2
As it was, the static variable was always re-set to an empty array
2015-06-22Fix #3913Andrey Andreev2-139/+128
2015-06-22Work-around for https://bugs.php.net/bug.php?id=39598Andrey Andreev2-2/+42
Fixes #3922
2015-06-22Alter CI_Upload logging levelsAndrey Andreev1-23/+22
Close #3920
2015-06-15Fix #3908Andrey Andreev1-1/+1
2015-06-11Fix #3904Andrey Andreev1-0/+6
2015-06-10Fix #3903Andrey Andreev1-3/+2
2015-05-22Merge pull request #3868 from ftwbzhao/feature/migrationAndrey Andreev1-3/+3
[ci skip] Update Migration lib class reference docs
2015-05-21update function latestftwbzhao1-1/+1
2015-05-21[ci skip] Trim some whitespace from Image_libAndrey Andreev1-11/+11
2015-05-20optimize migrations class referenceftwbzhao1-3/+3
2015-05-13[Cache]minor adjustments for save functionftwbzhao1-3/+1
2015-05-11Fix an undefined variable error from fbde2798688ab99cfe3fdd22746d60f0877b2c27Andrey Andreev1-1/+1