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:
Dan Marsden 2010-07-12 08:12:16 +00:00
parent 489c2f1b7a
commit 5cf8509753

View File

@ -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";
}