modified dirname call to scorm_dirname that works also with URLs

This commit is contained in:
bobopinna
2007-01-16 14:08:22 +00:00
parent 2347a35113
commit 5297c819c4
+1 -1
View File
@@ -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;
}