X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=includes%2FWebStart.php;h=15804c7bd41650d15ffa6b5cd67feb3bd9fb9ecc;hb=17eda64357834fa847126d8d7f49f6f5b42c4d89;hp=74b9aa60676face63191a7b9af9549f76bf34ac8;hpb=9635dda73a556764ea6218670e8ae87775d5cd6d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index 74b9aa6067..15804c7bd4 100644 --- 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 );