log->message('W-BadmenuactionVariable, menuaction missing or corrupt: %1',$menuaction); $phpgw->log->commit(); $app = 'home'; $invalid_data = True; } $phpgw_info['flags'] = array( 'noheader' => 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')); $phpgw->log->message('W-BadmenuactionVariable, menuaction missing or corrupt: %1',$menuaction); if (! is_array($obj->public_functions) || ! $obj->public_functions[$method]) { $phpgw->log->message('W-BadmenuactionVariable, attempted to access private method: %1',$method); } $phpgw->log->commit(); /* $_obj = CreateObject('home.home'); $_obj->get_list(); */ } $phpgw->common->phpgw_footer();