commit | 183fe844a99da30c4bc2b4b8d881f6b94310dbc5 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Sun Jul 22 02:09:13 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Sun Jul 22 02:09:13 2007 +0000 |
tree | f148a942d98c7f92a54d2465c8fec730c581f692 | |
parent | de2623c7a748e2e40ce4f6d64161915ed5141c4e [diff] |
diff --git a/system/libraries/Router.php b/system/libraries/Router.php index 6fca452..501a8ee 100644 --- a/system/libraries/Router.php +++ b/system/libraries/Router.php
@@ -252,7 +252,7 @@ } // 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));