summaryrefslogtreecommitdiffstats
path: root/system/libraries/Router.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-08 09:21:12 +0200
committeradmin <devnull@localhost>2006-10-08 09:21:12 +0200
commit10c3f41cbe5bd3bb66fd106cc9fb171ffcc7364b (patch)
tree7477d21d33dd07221425685756561c3bbd386217 /system/libraries/Router.php
parent86d4e993d9ea21f28124b80f3d0c161aea681cb6 (diff)
Diffstat (limited to 'system/libraries/Router.php')
-rw-r--r--system/libraries/Router.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index 7a4fd3899..27e3c27cc 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -66,7 +66,6 @@ class CI_Router {
*/
function _set_route_mapping()
{
-
// Are query strings enabled in the config file?
// If so, we're done since segment based URIs are not used with query strings.
if ($this->config->item('enable_query_strings') === TRUE AND isset($_GET[$this->config->item('controller_trigger')]))
@@ -120,8 +119,7 @@ class CI_Router {
{
$this->uri_string = preg_replace("|".preg_quote($this->config->item('url_suffix'))."$|", "", $this->uri_string);
}
-
-
+
// Explode the URI Segments. The individual segments will
// be stored in the $this->segments array.
foreach(explode("/", preg_replace("|/*(.+?)/*$|", "\\1", $this->uri_string)) as $val)