- function scan($p,$pr, $path=false) {
-
-
-
- $full_path = array($p,$pr);
- $class_path = array();
- if ($path !== false) {
- $full_path= array_merge($full_path, $path);
- $class_path = array_merge($class_path, $path);
- }
- //print_r("CHKDIR: ". implode('/', $full_path)."\n");
+ function scan($route = array())
+ {
+ $dir = $this->rootDir . "/" . implode("/", $route);