Permalink
Browse files

Forgot to add a require for lesson's locallib.php and change a requir…

…e from quiz's lib.php to quiz's locallib.php
  • Loading branch information...
1 parent 603a353 commit 9f0b60ed6f50ab8812d27a91dd2e914287d775e9 michaelpenne committed Jun 29, 2005
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/lesson/import.php
View
3 mod/lesson/import.php
@@ -3,6 +3,7 @@
require_once("../../config.php");
require_once("lib.php");
+ require_once("locallib.php");
$id = required_param('id', PARAM_INT); // Course Module ID
$pageid = optional_param('pageid', '', PARAM_INT); // Page ID
@@ -50,7 +51,7 @@
}
require("format.php"); // Parent class
- require("$CFG->dirroot/mod/quiz/lib.php"); // for the constants used in quiz/format/<format>/format.php
+ require("$CFG->dirroot/mod/quiz/locallib.php"); // for the constants used in quiz/format/<format>/format.php
require("$CFG->dirroot/mod/quiz/format/$form->format/format.php");
$classname = "quiz_format_$form->format";

0 comments on commit 9f0b60e

Please sign in to comment.