MDL-16060 use old style slasharguments file.php link when launching scorm packages

This commit is contained in:
skodak
2008-08-18 20:56:58 +00:00
parent 3f2b8c4129
commit b8dddc9e37
+4 -2
View File
@@ -108,8 +108,10 @@
} else {
$basedir = $CFG->moddata.'/scorm/'.$scorm->id;
}
require_once($CFG->libdir.'/filelib.php');
$result = get_file_url($scorm->course .'/'. $basedir .'/'. $launcher);
//note: do not convert this to use get_file_url()!
// SCORM does not work without slasharguments anyway and there might be some extra ?xx=yy params
// see MDL-16060
$result = $CFG->wwwroot.'/file.php/'.$scorm->course.'/'.$basedir.'/'.$launcher;
}
}