});
$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] == '.') {
}
if (is_dir("{$dir}/{$d}")) {
- echo "directory : {$d}\n";
$this->scan(array_merge($route, array($d)));
continue;
}
- echo "get file {$d}\n";
if (!preg_match('/\.php$/', $d)) {
continue;
}