fixed routing bug.

This commit is contained in:
Taylor Otwell
2011-07-31 17:24:43 -05:00
parent 2275c74660
commit 2bb7125127
2 changed files with 3 additions and 1 deletions

View File

@@ -24,6 +24,8 @@ class Loader {
if (file_exists($path = ROUTE_PATH.implode('/', array_slice($segments, 0, $key + 1)).EXT))
{
$routes = require $path;
break;
}
}