mirror of
https://github.com/moodle/moodle.git
synced 2025-02-10 10:41:57 +01:00
MDL-14589 - reverting patch as it breaks access to packages that use arguments in the url on loader style pages. please see MDL-23210 for details
This commit is contained in:
parent
3903aab0aa
commit
38961293ed
@ -119,8 +119,7 @@
|
||||
$result = $CFG->repositorywebroot.substr($scorm->reference, 1).'/'.$sco->launch;
|
||||
|
||||
} else if ($scorm->scormtype === SCORM_TYPE_LOCAL or $scorm->scormtype === SCORM_TYPE_LOCALSYNC) {
|
||||
$result = new moodle_url('/pluginfile.php');
|
||||
$result->set_slashargument("/$context->id/mod_scorm/content/$scorm->revision/$launcher");
|
||||
$result = "$CFG->wwwroot/pluginfile.php/$context->id/mod_scorm/content/$scorm->revision/$launcher";
|
||||
}
|
||||
|
||||
// which API are we looking for
|
||||
|
Loading…
x
Reference in New Issue
Block a user