summaryrefslogtreecommitdiffstats
path: root/system/core/Config.php
AgeCommit message (Collapse)AuthorFilesLines
2013-07-25Uniformize slash_item() with item()vlakoff1-2/+2
2013-07-25Adjustments to the previous commitvlakoff1-1/+1
2013-07-24config->item() now returns NULL instead of FALSE when the required item ↵vlakoff1-3/+3
doesn't exist. Uniformization with other functions. This also brings the ability to properly use booleans in configuration.
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-5/+1
As suggested in issue #2134 & PR #2149
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03config->site_url(): remove useless castvlakoff1-1/+1
thanks to narfbg
2012-12-03config->site_url() optimizationsvlakoff1-7/+10
- direct access to config array, instead of item() calls - the string cast is just in case 'url_suffix' would be set to false or null; the function produces the same results without this cast, but it leads to a robuster code, as false and null are sanitized and skip the suffix insertion code - altered conditional structure: if no suffix, skip the appending of an empty string to $uri
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-27Input class improvementsAndrey Andreev1-1/+1
- Disable register_globals replication on PHP 5.4+ (no longer exists). - DocBlock improvements. - Add missing changelog entry. - Change user_agent() to return NULL when no value is found (for consistency with other fetcher methods).
2012-10-27Docblock improvements to the Config library and remove ↵Andrey Andreev1-46/+34
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-22Add is_https() as a common functionAndrey Andreev1-1/+1
2012-10-05Fix issue #116 + other space/style fixes [ci skipAndrey Andreev1-1/+1
2012-07-04Fix some whitespace, removed unnecessary string concatenation.Eric Roberts1-3/+3
2012-07-04Moved redundant $check_locations definition out of loop.Eric Roberts1-4/+4
2012-06-16Fix issue #999Andrey Andreev1-3/+15
2012-06-16Fix issue #938 + some related improvementsAndrey Andreev1-13/+7
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-04Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5dAndrey Andreev1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-7/+7
2012-05-17Cleanup the core classesAndrey Andreev1-14/+13
2012-04-27Fix Config.php and partially fix Image_lib.phpTimothy Warren1-7/+0
2012-04-23Use tabs to separate class propertiesTimothy Warren1-3/+3
2012-04-19Additional formatting fixesTimothy Warren1-1/+3
2012-04-19Normalize comments in core filesTimothy Warren1-1/+0
2012-03-14Merge branch 'feature/unit-tests' into developPhil Sturgeon1-1/+1
2012-03-10Fix incomplete and skipped testTaufan Aditya1-1/+1
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-31HTTPS detection fixRoss Duggan1-1/+1
More closely follow the wording of the $_SERVER['HTTPS'] description in the PHP manual, which specifies a "non-empty" value rather than "non-null"
2012-01-07Reverted DIRECTORY_SEPARATOR changesAndrey Andreev1-3/+3
2012-01-07Improve the Config libraryAndrey Andreev1-74/+40
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-25Fixing soft tabs in a few files.Greg Aker1-1/+1
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-14Added some docs to CI core filesDavid Behler1-7/+22
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones1-9/+9
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-9/+9
broke the Typography class's string replacements, for instance
2011-06-15Merged base_url changes.philsturgeon1-12/+46
2011-04-27Reverting last change. Don't know what I was thinking. :(Eric Barnes1-1/+1
2011-04-26Automatic base_url generation was missing a ending slash.Eric Barnes1-1/+1
2011-04-25Fixed double-space typo.Razican1-9/+9
2011-04-22Fixed re-searching for config file even though one had been loaded ($found ↵katzgrau1-1/+2
was set to true, never reset). Also fixes getsparks issue.
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-3/+3
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-17/+25
stop environment checks.
2011-03-10Added full docs for new ENVIRONMENT constant.katzgrau1-1/+1
2011-02-14Whitespace cleanup in core/Pascal Kriete1-2/+2
2011-02-03Made config->base_url() accept parameters. config->base_url($uri). Updated ↵anaxamaxan@blackdog.local1-12/+46
base_url() in url_helper accordingly.
2011-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon1-2/+3
2011-01-27Automated merge with https://bitbucket.org/ellislab/codeigniterPhil Sturgeon1-25/+23
2011-01-19Avoid double-slashed on the base_url by only slashing index_page if it is ↵Phil Sturgeon1-1/+2
actually set.
2011-01-16Cleaned up environment class variable which isn't used anymore in current ↵joelcox1-1/+0
implementation