input->get('task'); $view = $app->input->get('view'); if(!$view && !$task) { $app->redirect(JURI::root()); } // Perform the Request task $controller->execute($task); // Redirect if set by the controller $controller->redirect();