MDL-25314 adding some header/session related notes

This commit is contained in:
Petr Skoda 2010-11-20 03:49:20 +00:00
parent 5e21cac896
commit 871ed45870
2 changed files with 4 additions and 1 deletions

View file

@ -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();
}