public function loadApplication($path) { $app = PicnicApplication::loadApplication($path); $this->_applications[] = $app; /*if (is_dir($path)) { if (file_exists($path."setup.php")) { require_once($path."setup.php"); $r = $this->router(); require_once($path."config".DS."routes.php"); } }*/ }