MDL-17310 - Fixup an issue with relative directory paths. Thanks Jonathan.
authorpiers <piers>
Thu, 4 Dec 2008 03:25:43 +0000 (03:25 +0000)
committerpiers <piers>
Thu, 4 Dec 2008 03:25:43 +0000 (03:25 +0000)
mod/scorm/settings.php

index c9742b0..5212f3a 100644 (file)
@@ -1,5 +1,5 @@
 <?php  //$Id$
 <?php  //$Id$
-require_once('../mod/scorm/locallib.php');
+require_once($CFG->dirroot . '/mod/scorm/locallib.php');
 $yesno = array(0 => get_string('no'),
                1 => get_string('yes'));
 
 $yesno = array(0 => get_string('no'),
                1 => get_string('yes'));