summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-07-22 04:09:13 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-07-22 04:09:13 +0200
commit183fe844a99da30c4bc2b4b8d881f6b94310dbc5 (patch)
treef148a942d98c7f92a54d2465c8fec730c581f692 /system
parentde2623c7a748e2e40ce4f6d64161915ed5141c4e (diff)
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index 6fca45227..501a8ee82 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -252,7 +252,7 @@ class CI_Router {
}
// Loop through the route array looking for wild-cards
- foreach (array_slice($this->routes, 1) as $key => $val)
+ foreach ($this->routes as $key => $val)
{
// Convert wild-cards to RegEx
$key = str_replace(':any', '.+', str_replace(':num', '[0-9]+', $key));