die("CLI only");
}
}
-
+
function get($base, $opts = array())
{
- $dir = array($this->rootDir);
- $cls = array();
-
-// $this->scan($this->rootDir, 'Pman');
$this->scan();
}
continue;
}
- require_once implode('/', $route) . "/" . $d;
+// require_once implode('/', $route) . "/" . $d;
+
+ try {
+ require_once implode('/', $route) . "/" . $d;
+ } catch (ErrorException $ex) {
+ echo "Unable to load configuration file.";
+ }
}