From a7e39e9cf011a99b7652989f9dc8e0b0d8a404b0 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 31 Jul 2011 17:21:45 -0500 Subject: [PATCH] fixed routing bug when using nested route directories. --- system/router.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/router.php b/system/router.php index 6103995a..7595e792 100644 --- a/system/router.php +++ b/system/router.php @@ -68,6 +68,8 @@ class Router { if (file_exists($path = ROUTE_PATH.implode('/', array_slice($segments, 0, $key + 1)).EXT)) { $routes = require $path; + + break; } }