From 08010f4eb249460803e7dd1c6daae69de89b3366 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 19 Jul 2011 06:23:16 -0700 Subject: [PATCH] Edited system/router.php via GitHub --- system/router.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/router.php b/system/router.php index d5090edf..e7328759 100644 --- a/system/router.php +++ b/system/router.php @@ -73,8 +73,8 @@ private static function load_from_directory($uri) { $segments = explode('/', $uri); - // Route files can be nested deep within sub-directories. To find the appropriate file, we work our - // way backward through the URI looking for the deepest matching file. + // Route files can be nested deep within sub-directories. + // Iterate backwards through the URI looking for the deepest matching file. foreach (array_reverse($segments, true) as $key => $value) { if (file_exists($path = APP_PATH.'routes/'.implode('/', array_slice($segments, 0, $key + 1)).EXT))