mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-25314 adding some header/session related notes
This commit is contained in:
parent
5e21cac896
commit
871ed45870
2 changed files with 4 additions and 1 deletions
|
@ -345,6 +345,7 @@ $CFG->httpswwwroot = $CFG->wwwroot;
|
|||
require_once($CFG->libdir .'/setuplib.php'); // Functions that MUST be loaded first
|
||||
|
||||
if (NO_OUTPUT_BUFFERING) {
|
||||
// we have to call this always before starting session because it discards headers!
|
||||
disable_output_buffering();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue