From 2bb7125127d76f95a8938dc51343fd35cbf2aea6 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 31 Jul 2011 17:24:43 -0500 Subject: [PATCH] fixed routing bug. --- public/index.php | 2 +- system/routing/loader.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 5cc31efc..e81191a0 100644 --- a/public/index.php +++ b/public/index.php @@ -3,7 +3,7 @@ * Laravel - A clean and classy framework for PHP web development. * * @package Laravel - * @version 1.4.0 + * @version 1.4.1 * @author Taylor Otwell * @link http://laravel.com */ diff --git a/system/routing/loader.php b/system/routing/loader.php index ac271810..b1c502a2 100644 --- a/system/routing/loader.php +++ b/system/routing/loader.php @@ -24,6 +24,8 @@ public static function load($uri) if (file_exists($path = ROUTE_PATH.implode('/', array_slice($segments, 0, $key + 1)).EXT)) { $routes = require $path; + + break; } }