SCORM MDL-23074 - fix regression - missing slash

This commit is contained in:
Dan Marsden
2010-07-05 02:00:02 +00:00
parent 4c7f6ac693
commit 4cec22dce6
+1 -1
View File
@@ -875,7 +875,7 @@ function scorm_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
if ($filearea === 'content') {
$revision = (int)array_shift($args); // prevents caching problems - ignored here
$relativepath = implode('/', $args);
$fullpath = "$context->id/mod_scorm/content/0/$relativepath";
$fullpath = "/$context->id/mod_scorm/content/0/$relativepath";
// TODO: add any other access restrictions here if needed!
} else if ($filearea === 'package') {