summaryrefslogtreecommitdiffstats
path: root/system/core/Router.php
AgeCommit message (Collapse)AuthorFilesLines
2013-07-22Change class filenames to UcfirstAndrey Andreev1-5/+3
2013-07-19Router improvementsAndrey Andreev1-18/+38
- 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-7/+10
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev1-4/+5
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
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-12-07Fix issue #2061Andrey Andreev1-9/+9
2012-11-08Another router fix for the dumbest usage of callbacks everAndrey Andreev1-1/+1
2012-11-08Revert 96ea52894aea85b86d75f59fee35f90676735060Andrey Andreev1-6/+6
2012-11-08Change route type checks prioritiesAndrey Andreev1-6/+6
2012-11-04Fix #98Andrey Andreev1-1/+1
2012-11-02Fix a directory/404_override bug and some routing-related optimizationsAndrey Andreev1-55/+21
2012-11-02Router-related optimizationsAndrey Andreev1-7/+0
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-01Allow use of dashes in controller/method URI segmentsAndrey Andreev1-1/+9
Supersedes PR #642
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-31Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJonatas Miguel1-33/+36
2012-10-30Fix issue #658 (:any wildcard matching slashes)Andrey Andreev1-1/+1
2012-10-27[ci skip] Router class DocBlock improvementsAndrey Andreev1-32/+35
2012-10-23users' default values are now respected in callback routesJonatas Miguel1-0/+15
2012-09-27corrected a few more style problemsJonatas Miguel1-2/+2
2012-09-27made some corrections to the codeJonatas Miguel1-6/+3
2012-08-07Changed spaces to tabs where necessary.Jonatas Miguel1-59/+59
2012-08-06Updated documentationJonatas Miguel1-1/+1
2012-08-06Corrected code style to be inline with project conventions.Jonatas Miguel1-7/+9
2012-08-06Fixed a bug when detecting if the user used a callback.Jonatas Miguel1-1/+1
2012-08-06New optional routing system, v3Jonatas Miguel1-33/+57
2012-08-06revert changes to routing system - part 1Jonatas Miguel1-34/+2
2012-08-01Added possibility of using callbacks.Jonatas Miguel1-6/+25
2012-07-20allow for routes that can be processed with php, ex: ↵Jonatas Miguel1-1/+14
$route['([^/]+)/([^/]+)(/:any)?'] = 'php:"$1" . "/do" . ucfirst("$2") . "$3"';
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-3/+3
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-4/+4
2012-05-17Cleanup the core classesAndrey Andreev1-14/+11
2012-05-02Reverted rui_string change.Phil Sturgeon1-4/+1
This had knock-on effects as can be seen in #1306. Issue #122 has been reopend until it is fixed properly.
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patchTimothy Warren1-1/+4
2012-04-26Fixed issue #122 - ruri_string() in subdirs.Phil Sturgeon1-1/+4
2012-04-23Use tabs to separate class propertiesTimothy Warren1-5/+5
2012-04-19Additional formatting fixesTimothy Warren1-5/+11
2012-04-19Normalize comments in core filesTimothy Warren1-1/+0
2012-03-26Some style adjustments and fixed comments in Router and Output classesAndrey Andreev1-17/+15
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-07Improve the core Router libraryAndrey Andreev1-70/+37
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Revert "Abstracting the loading of files in the config directory depending ↵Greg Aker1-1/+8
on environments." This reverts commit 5c1aa631c5f5ec2f6b75ba1158178418e50ba11a.
2011-12-25Abstracting the loading of files in the config directory depending on ↵Greg Aker1-8/+1
environments.
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-15Added some docs to CI core filesDavid Behler1-2/+44
2011-08-10404_override route now works for missing controllers in subdirectories and ↵Shane Pearson1-1/+14
functions that fail the security check in CodeIgniter.php
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-13/+13
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-13/+13