Changeset 2629 for trunk/system/libraries/Router.php
- Timestamp:
- 05/05/2008 11:02:11 AM (7 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r2600 r2629 96 96 // Path to be added to as we search deeper 97 97 $search = 'controllers'; 98 98 99 99 // controller path to be added to as we search deeper 100 100 $controller_path = ''; 101 101 102 102 // Use the rsegments to find the controller 103 103 foreach (self::$rsegments as $key => $segment) … … 228 228 $routes = Config::item('routes'); 229 229 $uri = $routed_uri = trim($uri, '/'); 230 230 231 231 if (isset($routes[$uri])) 232 232 { … … 271 271 272 272 return $routed_uri; 273 } 273 } 274 274 275 275 } // End Router class
