From 183f309e2cab0598353c79807eb3ff2fc97c3098 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 19 Dec 2006 00:55:04 +0000 Subject: [PATCH] We no longer need to modify the array we get back from BSFunctions::ScanDirectory() because we rewrote it --- Router.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Router.php b/Router.php index e83d58b..e501b12 100644 --- a/Router.php +++ b/Router.php @@ -173,8 +173,7 @@ class BSRouter { $path = BSFunctions::FetchSourcePath($path); $controllers = BSFunctions::ScanDirectory($path); - $controllers = $controllers['']; - + foreach ($controllers AS $file) { $controller = str_replace('.php', '', $file); -- 2.22.5