summaryrefslogtreecommitdiffstats
path: root/system/core/CodeIgniter.php
AgeCommit message (Collapse)AuthorFilesLines
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-06Optimize the composer_autoload checkAndrey Andreev1-1/+1
2014-07-11Add setting ['composer_autoload']Andrey Andreev1-0/+17
Supersedes PR #3132
2014-07-07Fix a few typos and add a backport (compat) for hex2bin()Andrey Andreev1-1/+1
2014-05-09Suppress PHP 5.6 E_DEPRECATED warnings for mbstring.internal_encoding as wellAndrey Andreev1-1/+3
2014-05-06Account for PHP 5.6 changes related to charsetsAndrey Andreev1-2/+10
2014-04-15Fix in $_protected array of register_globals security procedurevlakoff1-1/+1
* Followup to b78a8c7d40446a3e2e36772706662fd033fe7d1d * Just FYI, renamed to "system_path" in 0c1e405437ceb3c1888e151e6a400653310ad6c1
2014-04-15Fix #3004Andrey Andreev1-3/+51
2014-02-24Don't use globalsAndrey Andreev1-3/+2
- 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 with ini_set()Andrey Andreev1-1/+1
2014-02-19Add compatibility layer for array_column(), array_replace(), ↵Andrey Andreev1-0/+1
array_replace_recursive()
2014-02-18Add an ext/hash compatibility layer (just hash_pbkdf2(), for now)Andrey Andreev1-0/+1
2014-02-13Fix syntax errorAndrey Andreev1-2/+2
2014-02-13Introducing compatibility layersAndrey Andreev1-0/+9
- Limited support for mbstring (mb_strlen(), mb_strpos(), mb_substr() only) via iconv. Falls back to regular strlen(), strpos(), substr() if iconv is not available. - Password hashing, dependant on CRYPT_BLOWFISH (2y version, available since PHP 5.3.7) availability.
2014-02-12Move mbstring/iconv configuration and MB_ENABLED, ICONV_ENABLED out of ↵Andrey Andreev1-5/+45
CI_Utf8::__construct() Also, use mb_substitute_character() instead of ini_set()
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-16URI Routing overhaulAndrey Andreev1-61/+82
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot)
2014-01-10Finally get rid of the CI_Router::_set_overrides() callsAndrey Andreev1-6/+0
2013-11-17Always load application/config/constants.phpAndrey Andreev1-6/+4
2013-11-16Update CodeIgniter.phpjosephok1-9/+9
require(APPPATH.'config/constants.php') should be in front of require(BASEPATH.'core/Common.php') because Common.php uses some constants defined in constants.php.
2013-09-13Improvements to safe_mode detection (it doesn't exist in PHP 5.4)Andrey Andreev1-4/+2
2013-09-11Simulate a complete custom exception handler by redirecting uncaught events.Kaiwang Chen1-0/+1
2013-08-17Fix $replace parameter handling in get_config()vlakoff1-1/+1
Code was reached only on first function call, then short-circuited because of the reference cache.
2013-07-22Change class filenames to UcfirstAndrey Andreev1-4/+8
2013-07-19Router improvementsAndrey Andreev1-1/+0
- Make dashes-to-underscores URI segment replacement configurable via ['translate_uri_dashes']. - Make _set_routing() protected and move the call to the class constructor. - Remove redudant calls to set_class() and set_method(). - Clean-up/optimize the routes loading procedure. (fixes issue #2503)
2013-04-04Fix #2380 and deprecate CI_Router::fetch_*() methodsAndrey Andreev1-4/+4
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev1-3/+3
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-05Revert usage of is_callable() in system/core/CodeIgniter.phpAndrey Andreev1-1/+5
Seems to be causing issues (see #1970). Also updated the Controller docs, mainly to include an important note related to #1967.
2012-11-02Bootstrap improvementsAndrey Andreev1-39/+33
- Don't instantiate the CI singleton twice. - General clean-up. - Fix issue #953.
2012-11-02Fix a directory/404_override bug and some routing-related optimizationsAndrey Andreev1-6/+10
2012-11-02Router-related optimizationsAndrey Andreev1-9/+4
An improved version of changes suggesed in PR #1352, and more specifically: https://github.com/sourcejedi/CodeIgniter/commit/8f7d2dfe42bd8543981c0f295e391e433d82fd42 https://github.com/sourcejedi/CodeIgniter/commit/d2de251c092d9d822fc4898e3681b64e9c74dd2a (thanks again @sourcejedi)
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-27Remove extra new linesvkeranov1-1/+0
2012-10-27Docblock improvements to the Config library and remove ↵Andrey Andreev1-2/+5
CI_Config::_assign_to_config() Existance of _assign_to_config() is pointless as this method consists just of a foreach calling CI_Config::set_item() and is only called by CodeIgniter.php - moved that foreach() in there instead.
2012-10-11Replace a few require() uses with require_once() (should fix issue #1872)Andrey Andreev1-1/+1
2012-06-12Change file permissions for system/core/*.php and system/database/DB.php so ↵Andrey Andreev1-0/+0
that they don't differ from the rest
2012-06-05Replace set_magic_quotes_runtime() with an ini_set() callAndrey Andreev1-1/+1
2012-06-05Fix a magic_quotes-related bug and changed the default parameter value for ↵Andrey Andreev1-1/+1
is_php()
2012-06-04Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5dAndrey Andreev1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-2/+2
2012-05-23Merge pull request #1367 from PawelDecowski/developPhil Sturgeon1-11/+0
Remove set_time_limit() call. Fixes #1346
2012-05-22Move closing of database connection to CI_DB_driver->__destruct - #1376Root1-10/+0
2012-05-17Remove set_time_limit() call. CodeIgniter should respect php.ini setting.Pawel Decowski1-11/+0
2012-05-17Cleanup the core classesAndrey Andreev1-1/+1
2012-04-28Important spelling fix to CodeIgniter.php fileChris Berthe1-1/+1
2012-04-23Use tabs to separate class propertiesTimothy Warren1-1/+1
2012-04-23Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patchTimothy Warren1-7/+7
2012-04-23Merge upstreamTimothy Warren1-3/+1