});
$this->scan(array("Pman"));
-// $this->scan(array("Hebe"));
+ $this->scan(array($this->bootLoader->project));
exit;
}
{
$dir = $this->rootDir . "/" . implode("/", $route);
- echo "Looking for {$dir}\n";
-
foreach (scandir($dir) as $d) {
if (!strlen($d) || $d[0] == '.') {
continue;
}
- if (is_dir($d)) {
- echo "directory : {$d}\n";
+ if (is_dir("{$dir}/{$d}")) {
$this->scan(array_merge($route, array($d)));
continue;
}