True, 'nonavbar' => True, 'currentapp' => $app ); include('./header.inc.php'); if ($app == 'home') { Header('Location: ' . $phpgw->link('/home.php')); } $obj = CreateObject(sprintf('%s.%s',$app,$class)); if ((is_array($obj->public_functions) && $obj->public_functions[$method]) && ! $invalid_data) { eval("\$obj->$method();"); } else { Header('Location: ' . $phpgw->link('/home.php')); /* $_obj = CreateObject('home.home'); $_obj->get_list(); */ } $phpgw->common->phpgw_footer();