From: tjhunt Date: Wed, 19 Sep 2007 10:26:39 +0000 (+0000) Subject: MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=01c4e87acfdae0cef0f464c30fafe45f999cee1c;p=moodle.git MDL-11095 - Use absolute path to include tabs.php, not a relative path, for greater robustness. Merged from MOODLE_18_STABLE. --- diff --git a/mod/quiz/report/default.php b/mod/quiz/report/default.php index d063c6e548..612069c16b 100644 --- a/mod/quiz/report/default.php +++ b/mod/quiz/report/default.php @@ -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'); } }