fixed routing bug when using nested route directories.

This commit is contained in:
Taylor Otwell 2011-07-31 17:21:45 -05:00
parent 2c68317b0d
commit a7e39e9cf0
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ public function load($uri)
if (file_exists($path = ROUTE_PATH.implode('/', array_slice($segments, 0, $key + 1)).EXT))
{
$routes = require $path;
break;
}
}