. /** * Page to manipulate templates. * * @package quizaccess_seb * @author Dmitrii Metelkin * @copyright 2020 Catalyst IT * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once('../../../../config.php'); require_once($CFG->libdir . '/adminlib.php'); $action = optional_param('action', 'view', PARAM_ALPHANUMEXT); $PAGE->set_context(context_system::instance()); $manager = new \quizaccess_seb\template_controller(); $manager->execute($action);