mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 09:23:09 +02:00
fixed includes in included files - see bug #4891
This commit is contained in:
parent
e1427cdec5
commit
bbba475967
@ -1,9 +1,11 @@
|
||||
<?php
|
||||
<?php // $Id$
|
||||
// This file facilitates the conversion of a Blackboard course export
|
||||
// into a Moodle course export. It assumes an unzipped directory and makes in-place alterations.
|
||||
|
||||
|
||||
defined('MOODLE_INTERNAL') or die('Direct access to this script is forbidden.');
|
||||
|
||||
// Ziba Scott <ziba@linuxbox.com> 10-25-04
|
||||
require_once('xsl_emulate_xslt.inc');
|
||||
require_once($CFG->dirroot.'/backup/bb/xsl_emulate_xslt.inc');
|
||||
|
||||
function get_subdirs($directory){
|
||||
$opendirectory = opendir( $directory );
|
||||
|
@ -288,7 +288,7 @@ function quiz_delete_course($course, $feedback=true) {
|
||||
$strcatdeleted = get_string('unusedcategorydeleted', 'quiz');
|
||||
|
||||
if ($categories = get_records('question_categories', 'course', $course->id, 'parent', 'id, parent, name, course')) {
|
||||
require_once("locallib.php");
|
||||
require_once($CFG->dirroot.'/mod/quiz/locallib.php');
|
||||
//Sort categories following their tree (parent-child) relationships
|
||||
$categories = sort_categories_by_tree($categories);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user