function get($base, $opts = array())
{
- $base = realpath($this->rootDir);
- var_dump($base);
- exit;
- $this->scan($base, '');
+
+ $this->scan($this->rootDir, 'Pman');
}
function scan($p,$pr, $path=false) {
$clp[] = preg_replace('/\.php$/','', $d);
//print_r("CLP: " . implode('/', $clp)."\n");
- var_dump(implode('/', $clp ));
+ require_once "Pman/". implode('/', $clp ). '.php';
continue;
}
$clp[] = $d;