Source for file sl_enrolment.php
Documentation is available at sl_enrolment.php
* Sloodle enrolment forwarding script.
* This script will force the user to login, then forward them to the appropriate Moodle course enrolment page.
* This is necessary due to the behaviour of some browsers when given a URL by SL.
* @copyright Copyright (c) 2008 Sloodle (various contributors)
* @contributor Peter R. Bloomfield
require_once('../config.php');
$sloodlecourseid =
required_param('sloodlecourseid', PARAM_INT);
redirect("{
$CFG->wwwroot}/course/enrol.php?id=$sloodlecourseid");
Documentation generated on Tue, 04 Mar 2008 15:08:39 +0000 by phpDocumentor 1.4.0