From: bobopinna Date: Tue, 16 Jan 2007 14:08:22 +0000 (+0000) Subject: modified dirname call to scorm_dirname that works also with URLs X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5297c819c4ee3990e461f2e58252dca502b5d408;p=moodle.git modified dirname call to scorm_dirname that works also with URLs --- diff --git a/mod/scorm/loadSCO.php b/mod/scorm/loadSCO.php index 0a144ac012..f260c2718c 100755 --- a/mod/scorm/loadSCO.php +++ b/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; }