Log a backtrace from the culprit location if headers were already sent
authorTim Starling <tstarling@wikimedia.org>
Mon, 20 Feb 2017 05:29:54 +0000 (16:29 +1100)
committerTim Starling <tstarling@wikimedia.org>
Thu, 23 Feb 2017 03:10:12 +0000 (14:10 +1100)
commitf193271cffbca25d01df6af3b33418b0721b1d5f
tree0d465a23a1fe8ed18335ec78f8fcb0b39014f6d0
parenta0b8d8e1f5cb56e2ee5bd8abc3703ea0f084deb6
Log a backtrace from the culprit location if headers were already sent

Install the backtrace collector very early, so that we can get the
backtrace even if headers were sent from LocalSettings.php.

Bug: T157392
Change-Id: I9bc732b34481c95afb5362e135a87bd4302498e2
autoload.php
includes/GlobalFunctions.php
includes/HeaderCallback.php [new file with mode: 0644]
includes/Setup.php
includes/WebResponse.php
includes/WebStart.php
includes/libs/HttpStatus.php
includes/resourceloader/ResourceLoader.php