2 require_once(dirname(dirname(dirname(__FILE__
))) . '/config.php');
4 require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM
, SITEID
));
6 if (!$site = get_site()) {
10 /// get language strings
11 $str = get_strings(array('enrolments', 'users', 'administration', 'settings'));
13 print_header("$site->shortname: $str->enrolments", $site->fullname
,
14 "<a href=\"../../$CFG->admin/index.php\">$str->administration</a> ->
15 $str->enrolments -> IMS import");
17 require_once('enrol.php');
19 //echo "Creating the IMS Enterprise enroller object\n";
20 $enrol = new enrolment_plugin_imsenterprise();
23 <p
>Launching the IMS Enterprise
"cron" function. The import log will appear
below (giving details of any
24 problems that might
require attention
).</p
>
25 <pre style
="margin:10px; padding: 2px; border: 1px solid black; background-color: white; color: black;"><?php
26 //error_reporting(E_ALL);