mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-14741: Reverting removal of output buffering.
This commit is contained in:
parent
b31b9907b0
commit
6f8a7d393d
1 changed files with 3 additions and 0 deletions
|
@ -2526,7 +2526,10 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
|
||||||
$htmlEditorObject = new htmlEditor();
|
$htmlEditorObject = new htmlEditor();
|
||||||
$htmlEditor = $htmlEditorObject->configure(NULL, $COURSE->id);
|
$htmlEditor = $htmlEditorObject->configure(NULL, $COURSE->id);
|
||||||
|
|
||||||
|
ob_start();
|
||||||
include($CFG->header);
|
include($CFG->header);
|
||||||
|
$output = ob_get_contents();
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
// container debugging info
|
// container debugging info
|
||||||
$THEME->open_header_containers = open_containers();
|
$THEME->open_header_containers = open_containers();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue