mirror of
https://github.com/moodle/moodle.git
synced 2025-02-10 10:41:57 +01:00
SCORM MDL-23210 - add comment to code to help us remember not to convert this to using other file lib function.
This commit is contained in:
parent
489c2f1b7a
commit
5cf8509753
@ -119,6 +119,8 @@
|
||||
$result = $CFG->repositorywebroot.substr($scorm->reference, 1).'/'.$sco->launch;
|
||||
|
||||
} else if ($scorm->scormtype === SCORM_TYPE_LOCAL or $scorm->scormtype === SCORM_TYPE_LOCALSYNC) {
|
||||
//note: do not convert this to use get_file_url() or moodle_url()
|
||||
//SCORM does not work without slasharguments and moodle_url() encodes querystring vars
|
||||
$result = "$CFG->wwwroot/pluginfile.php/$context->id/mod_scorm/content/$scorm->revision/$launcher";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user