Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified dirname call to scorm_dirname that works also with URLs

  • Loading branch information...
commit 5297c819c4ee3990e461f2e58252dca502b5d408 1 parent 2347a35
bobopinna authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/scorm/loadSCO.php
View
2  mod/scorm/loadSCO.php
@@ -95,7 +95,7 @@
$result = $CFG->repositorywebroot.substr($scorm->reference,1).'/'.$sco->launch;
} else {
if (basename($scorm->reference) == 'imsmanifest.xml') {
- $basedir = dirname($scorm->reference);
+ $basedir = scorm_dirname($scorm->reference);
} else {
$basedir = 'moddata/scorm/'.$scorm->id;
}
Please sign in to comment.
Something went wrong with that request. Please try again.