mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
Added support to AICC
This commit is contained in:
parent
ad7fa8ed34
commit
f55a672eea
3 changed files with 77 additions and 28 deletions
|
@ -37,7 +37,8 @@ if (confirm_sesskey()) {
|
|||
$validation->result = 'badreference';
|
||||
$launch = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
//$launch = 0;
|
||||
if ($launch == 0) {
|
||||
//
|
||||
// Package must be validated
|
||||
|
@ -92,6 +93,9 @@ if (confirm_sesskey()) {
|
|||
echo get_string($error->type,"scorm",$error->data) . "\n";
|
||||
}
|
||||
}
|
||||
/*if ($validation->pkgtype == 'AICC') {
|
||||
scorm_parse_aicc("$CFG->dataroot/$courseid/$CFG->moddata/scorm$datadir",$scormid);
|
||||
}*/
|
||||
} else {
|
||||
echo 'result=' . get_string('badrequest','scorm') . "\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue