summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
AgeCommit message (Collapse)AuthorFilesLines
2016-07-25Merge pull request #4725 from tianhe1986/develop_url_encode_case_insensitiveAndrey Andreev1-2/+2
Fix remove_invisible_characters() for URL-encoded characters in upper case
2016-07-25Merge pull request #4724 from tianhe1986/develop_is_https_strtolowerAndrey Andreev1-1/+1
Compare X-Forwarded-Proto case-insensitively
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-10-30Fix #3201Andrey Andreev1-1/+6
2015-08-13Fix typo in commentsClaudio Galdiolo1-1/+1
2015-07-22Remove eval()-related logic from function_exists()Andrey Andreev1-13/+3
#3991 shows that all such checks are useless as function_exists('eval') will always return FALSE.
2015-04-20[ci skip] Remove whitespaceAndrey Andreev1-1/+1
2015-04-14Status Code Definitionsftwbzhao1-0/+4
2015-04-08typomult1mate1-1/+1
2015-03-25Remove commentJoshua Logsdon1-1/+0
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-03-25Return empty $var immediatelyJoshua Logsdon1-6/+6
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-03-24array_fill() throws an error if count($var) is 0Joshua Logsdon1-0/+6
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-02-22Common.php: set_status_header: ImproveFieah1-46/+45
1. Verify $code before define $stati 2. Only convert $code to int and define $stati when needed, possibly can save some memory.
2015-02-19Make set_status_header() a dummy under CLIAndrey Andreev1-0/+5
Close #3605
2015-02-04Fixed inconsistent return typesGabriel Potkány1-1/+1
2015-01-31Reduce once server protocol checkbjjay1-3/+2
2015-01-27is_php() more accurate descriptionkakysha1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-13Handle false-positive string values for display_errorsAndrey Andreev1-2/+2
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-11-04Fix #3310Andrey Andreev1-1/+1
Regression caused by 4b838af40d77684539dd40461bd92e6e453fe675 Quite possibly related to #3308
2014-10-28Add a real exception handlerAndrey Andreev1-8/+37
Close #1590 Close #3200
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-05config_item() to return NULL instead of FALSE for non-existing itemsAndrey Andreev1-1/+1
Close #3001 Close #3232 Related: #3244
2014-08-26Upgraded html_escape() - The simplest version.Ivan Tcholakov1-8/+1
2014-08-25Upgrading the function html_escape() - Readability Improvement 2.Ivan Tcholakov1-5/+11
2014-08-25Upgrading the function html_escape() - readability improvement.Ivan Tcholakov1-1/+3
2014-08-25Upgrading the function html_escape() - documentation corrections.Ivan Tcholakov1-4/+3
2014-08-25Upgrading the function html_escape(), escaping twice can be prevented by ↵Ivan Tcholakov1-4/+8
setting the second argument to FALSE.
2014-05-19Fix caching of MIME configvlakoff1-7/+14
* in get_mimes(): was missing isset() test * in Email->_mimes_types(): static cache of reference was noneffective refs 6ef498b49946ba74d610b3805fb908b163a7f03a
2014-05-19Merge pull request #3053 from vlakoff/get_configAndrey Andreev1-7/+4
Simplify code in get_config()
2014-05-19Simplify code in get_config()vlakoff1-7/+4
Exact same behavior. The reference was just redundant.
2014-05-18Adjust docblock of load_class()vlakoff1-1/+1
refs c26b9ebb00e29be2e972fece3bcf73d33249a64b
2014-04-09Minor changes in FV, TrackbackAndrey Andreev1-3/+0
2014-04-05Remove default parameter value of is_php()vlakoff1-2/+2
It was simply pointless.
2014-03-13Partially revert PR #2190Andrey Andreev1-12/+13
The core shouldn't depend on constants that are not defined by itself
2014-02-24Fix #2901Andrey Andreev1-1/+2
2014-02-24Don't use globalsAndrey Andreev1-5/+6
- Use load_class() to get objects during bootstrap process. - Change load_class() to accept a class constructor parameter instead of previously unused class name prefix. - Change CI_Router::__construct() to accept as a parameter.
2014-02-20Don't use error suppression on ini_get() eitherAndrey Andreev1-4/+4
2014-02-19Add compatibility layer for array_column(), array_replace(), ↵Andrey Andreev1-1/+1
array_replace_recursive()
2014-02-19Moved $_error load statement lower.Cristian Kocza1-3/+2
This prevents a possible recursion when an error is trigerred by one of the config file. Also since the variable is used only later in the code it makes sense to move it lower.
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-02-03[ci skip] Update info on function_usableAndrey Andreev1-0/+5
2014-01-30Previous 2 commits were just dumbAndrey Andreev1-2/+2
2014-01-24[ci skip] Add a link to PHP bug 54709 in is_really_writable()'s docblockAndrey Andreev1-0/+1
2013-11-14Remove a function_exists() check for error_get_last()Andrey Andreev1-1/+1
It was only relevant until we dropped support for PHP < 5.2
2013-11-12Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵Andrey Andreev1-0/+18
replace it Calls to this function are often needed before the Input library is available
2013-10-21Fix #2515 (manually merge PR #2516)Andrey Andreev1-4/+25