MDL-25314 improved prevention of output buffering + detection of misconfigured servers
authorPetr Skoda <skodak@moodle.org>
Fri, 19 Nov 2010 03:40:43 +0000 (03:40 +0000)
committerPetr Skoda <skodak@moodle.org>
Fri, 19 Nov 2010 03:40:43 +0000 (03:40 +0000)
commitcbad562eee83d47302bb64a7f2300ab29a97ed37
tree84c8097c0aef8a92a7d99bc2346362463e6f1c58
parent6e4453f5f8a1a6c41d981467c944a2525c018e17
MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
18 files changed:
admin/bloglevelupgrade.php
admin/cron.php
admin/index.php
admin/multilangupgrade.php
admin/replace.php
admin/report/security/index.php
admin/report/unittest/dbtest.php
admin/report/unittest/index.php
calendar/export_execute.php
lang/en/error.php
lib/adminlib.php
lib/filelib.php
lib/moodlelib.php
lib/setup.php
lib/setuplib.php
mod/chat/gui_header_js/jsupdated.php
search/indexer.php
search/tests/index.php