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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user