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
17 if (array_search($formaction, $actions) === false) {
18 print_error('unknownuseraction');
21 if (!confirm_sesskey()) {
22 print_error('confirmsesskeybad');
25 require_once($formaction);