Commit a7e39e9c by Taylor Otwell

fixed routing bug when using nested route directories.

parent 2c68317b
......@@ -68,6 +68,8 @@ class Router {
if (file_exists($path = ROUTE_PATH.implode('/', array_slice($segments, 0, $key + 1)).EXT))
{
$routes = require $path;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment