From a4acb1c0fbeda67545342bac11e979b3d45021a5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 6 Feb 2012 16:39:54 -0600 Subject: [PATCH] require routes as many times as necessary. --- laravel/bundle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/bundle.php b/laravel/bundle.php index 024c3fa5..4d3415a8 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -86,7 +86,7 @@ public static function start($bundle) // dependent bundles so that they are available. if (file_exists($path = static::path($bundle).'bundle'.EXT)) { - require_once $path; + require $path; } // Each bundle may also have a "routes" file which is responsible for @@ -109,7 +109,7 @@ public static function routes($bundle) { if (file_exists($path = static::path($bundle).'routes'.EXT)) { - require_once $path; + require $path; } }