summaryrefslogtreecommitdiff
path: root/src/lib/Router.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:40:45 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-04 20:40:45 -0400
commit103332a30f8976fcc224c8f55dc23aba7b99e578 (patch)
tree32337915884fb6217007d569636f418130757df3 /src/lib/Router.class.php
parentbca1b20b4fc6dca04368f8c03b5e1faeec5af7d3 (diff)
New router and view selector engine magic coolness.
Diffstat (limited to 'src/lib/Router.class.php')
-rw-r--r--src/lib/Router.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Router.class.php b/src/lib/Router.class.php
index 459034d..238e3f8 100644
--- a/src/lib/Router.class.php
+++ b/src/lib/Router.class.php
@@ -27,8 +27,8 @@ class Router {
$dirs = explode(PATH_SEPARATOR, $controllerpath);
foreach ($dirs as $dir) {
// Find all files in $dir with the ext `.class.php'
- $controllerfiles = glob($dir.'/*.class.php');
- foreach ($controllerfiles as $file) {
+ $files = glob($dir.'/*.class.php');
+ foreach ($files as $file) {
// and include them
require_once($file);
}