dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Log a backtrace from the culprit location if headers were already sent
[lhc/web/wiklou.git]
/
includes
/
WebStart.php
diff --git
a/includes/WebStart.php
b/includes/WebStart.php
index
6e4fb09
..
861e532
100644
(file)
--- a/
includes/WebStart.php
+++ b/
includes/WebStart.php
@@
-104,6
+104,9
@@
if ( !interface_exists( 'Psr\Log\LoggerInterface' ) ) {
die( 1 );
}
+# Install a header callback
+MediaWiki\HeaderCallback::register();
+
if ( defined( 'MW_CONFIG_CALLBACK' ) ) {
# Use a callback function to configure MediaWiki
call_user_func( MW_CONFIG_CALLBACK );