diff options
author | Andrey Andreev <narf@devilix.net> | 2013-07-19 15:25:51 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2013-07-19 18:06:55 +0200 |
commit | 08fec7bdf846daa3dfa4114310f065294ac092fc (patch) | |
tree | 59dbd8b39a0064651339f7543993df8f67871db5 /system/core/CodeIgniter.php | |
parent | 279c76cb3565672594c4e18dd070cb1e1fe38db9 (diff) |
Router improvements
- 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)
Diffstat (limited to 'system/core/CodeIgniter.php')
-rw-r--r-- | system/core/CodeIgniter.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php index 3fe5c0648..c68266408 100644 --- a/system/core/CodeIgniter.php +++ b/system/core/CodeIgniter.php @@ -165,7 +165,6 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * ------------------------------------------------------ */ $RTR =& load_class('Router', 'core'); - $RTR->_set_routing(); // Set any routing overrides that may exist in the main index file if (isset($routing)) |