diff options
author | vlakoff <vlakoff@gmail.com> | 2013-08-06 14:44:40 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-08-06 14:49:42 +0200 |
commit | c941d855dc32ec44107cb863596fa385c7aed015 (patch) | |
tree | e786107a41e0e1f6556bbc09956c10cdf92d806f /system/core/Router.php | |
parent | 5b55c15f24b518aa4775a0c15382c7b4bf72e1bc (diff) |
Various typos and tabs adjustments
Diffstat (limited to 'system/core/Router.php')
-rw-r--r-- | system/core/Router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Router.php b/system/core/Router.php index 989ae542e..0f7278ae6 100644 --- a/system/core/Router.php +++ b/system/core/Router.php @@ -351,10 +351,10 @@ class CI_Router { return $this->_set_request(explode('/', $this->routes[$uri])); } - // Loop through the route array looking for wild-cards + // Loop through the route array looking for wildcards foreach ($this->routes as $key => $val) { - // Convert wild-cards to RegEx + // Convert wildcards to RegEx $key = str_replace(array(':any', ':num'), array('[^/]+', '[0-9]+'), $key); // Does the RegEx match? |