3 * Wrapper script redirecting user operations to correct destination.
6 require_once("../config.php");
8 $formaction = required_param('formaction', PARAM_FILE
);
9 $id = required_param('id', PARAM_INT
);
11 // Add every page will be redirected by this script
15 'groupextendenrol.php',
20 if (array_search($formaction, $actions) === false) {
21 print_error('unknownuseraction');
24 if (!confirm_sesskey()) {
25 print_error('confirmsesskeybad');
28 require_once($formaction);