Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77365f7
)
MDL-38489 mod_scorm: added require to be explicit
author
Sam Hemelryk
<sam@moodle.com>
Mon, 16 Sep 2013 21:12:02 +0000
(09:12 +1200)
committer
Sam Hemelryk
<sam@moodle.com>
Mon, 16 Sep 2013 21:12:02 +0000
(09:12 +1200)
mod/scorm/view.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/scorm/view.php
b/mod/scorm/view.php
index
24d0364
..
692dcb4
100644
(file)
--- a/
mod/scorm/view.php
+++ b/
mod/scorm/view.php
@@
-16,6
+16,7
@@
require_once("../../config.php");
require_once($CFG->dirroot.'/mod/scorm/locallib.php');
+require_once($CFG->dirroot.'/course/lib.php');
$id = optional_param('id', '', PARAM_INT); // Course Module ID, or
$a = optional_param('a', '', PARAM_INT); // scorm ID