MDL-8810: changing require_once to include_once when looking for mod/.../lib.php

This commit is contained in:
scyrma
2008-01-24 02:26:15 +00:00
parent 5a661304aa
commit ba33284ca1
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ if ($modid == '0') { // special
}
else {
$modname = get_field("modules","name","id",$modid);
require_once('mod/'.$modname.'/lib.php');
include_once('mod/'.$modname.'/lib.php');
}
$function = $modname.'_process_email';