diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2007-07-22 04:09:13 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2007-07-22 04:09:13 +0200 |
commit | 183fe844a99da30c4bc2b4b8d881f6b94310dbc5 (patch) | |
tree | f148a942d98c7f92a54d2465c8fec730c581f692 /system | |
parent | de2623c7a748e2e40ce4f6d64161915ed5141c4e (diff) |
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Router.php | 2 |
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));
|