? .git ? .msg ? .patches ? cvsupdate.log ? patch.txt Index: admin/module.php =================================================================== RCS file: /cvsroot/moodle/moodle/admin/module.php,v retrieving revision 1.25 diff -u -r1.25 module.php --- admin/module.php 30 Apr 2007 17:08:42 -0000 1.25 +++ admin/module.php 7 Dec 2007 02:59:23 -0000 @@ -1,4 +1,4 @@ -dirroot/mod/$module/lib.php"); + include_once("$CFG->dirroot/mod/$module/lib.php"); // if the config.html contains a hidden form field giving // the module name then the form does not have to prefix all // its variable names, we will do it here. @@ -43,7 +43,7 @@ /// Otherwise print the form. $module = required_param('module', PARAM_SAFEDIR); - require_once("$CFG->dirroot/mod/$module/lib.php"); + include_once("$CFG->dirroot/mod/$module/lib.php"); $strmodulename = get_string("modulename", $module); Index: admin/process_email.php =================================================================== RCS file: /cvsroot/moodle/moodle/admin/process_email.php,v retrieving revision 1.5 diff -u -r1.5 process_email.php --- admin/process_email.php 28 Feb 2007 06:25:22 -0000 1.5 +++ admin/process_email.php 7 Dec 2007 02:59:23 -0000 @@ -1,5 +1,5 @@ #!/usr/bin/php -f -name.'/lib.php')) { - require_once(dirname(dirname(__FILE__)).'/mod/'.$mod->name.'/lib.php'); + include_once(dirname(dirname(__FILE__)).'/mod/'.$mod->name.'/lib.php'); $fname = $mod->name.'_print_overview'; if (function_exists($fname)) { $fname($courses,$htmlarray); @@ -1507,7 +1507,7 @@ continue; } - require_once("$CFG->dirroot/mod/$modname/lib.php"); + include_once("$CFG->dirroot/mod/$modname/lib.php"); $gettypesfunc = $modname.'_get_types'; if (function_exists($gettypesfunc)) { $types = $gettypesfunc(); @@ -2938,4 +2938,4 @@ return false; } -?> \ No newline at end of file +?> Index: course/report/participation/index.php =================================================================== RCS file: /cvsroot/moodle/moodle/course/report/participation/index.php,v retrieving revision 1.20 diff -u -r1.20 index.php --- course/report/participation/index.php 17 Aug 2007 19:09:16 -0000 1.20 +++ course/report/participation/index.php 7 Dec 2007 02:59:25 -0000 @@ -1,4 +1,4 @@ -libdir.'/statslib.php'); @@ -150,7 +150,7 @@ $module = get_record('modules','id',$moduleid); $modulename = get_string('modulename',$module->name); - require_once($CFG->dirroot.'/mod/'.$module->name.'/lib.php'); + include_once($CFG->dirroot.'/mod/'.$module->name.'/lib.php'); $viewfun = $module->name.'_get_view_actions'; $postfun = $module->name.'_get_post_actions';