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:
Dan Marsden 2010-07-11 23:53:38 +00:00
parent 3903aab0aa
commit 38961293ed

View File

@ -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