diff --git a/lib/outputlib.php b/lib/outputlib.php index 30626b8ed19..eb6c0497718 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -1718,6 +1718,9 @@ class moodle_core_renderer extends moodle_renderer_base { // but some of the content won't be known until later, so we return a placeholder // for now. This will be replaced with the real content in {@link footer()}. $output = self::PERFORMANCE_INFO_TOKEN; + if (debugging('', DEBUG_DEVELOPER)) { + $output .= '
This page is: ' . $this->page->debug_summary() . '
'; + } if (debugging()) { $output .= '
+ + + + + + + + +This page is: ' . $this->page->debug_summary() . ''; + } if (debugging()) { ?> -
- - - - - - - - +