MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater robustness. Merged from MOODLE_18_STABLE.

This commit is contained in:
tjhunt 2007-09-19 10:26:39 +00:00
parent 95ffcee0bf
commit 01c4e87acf

View File

@ -37,7 +37,7 @@ class quiz_default_report {
/// Print the tabs
$currenttab = 'reports';
$mode = $reportmode;
include('tabs.php');
require($CFG->dirroot . '/mod/quiz/tabs.php');
}
}