X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FWebStart.php;h=29ad456c12acb7e8ff8c7f09c437fa18b4aae245;hb=e3bd13db0c285f312e31bb1b7271af4628cca80c;hp=7bc30390749146f55ff7bb36ffeae454c2589f63;hpb=df85890b76b18e0c9bc465984b63df6090955a5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index 7bc3039074..29ad456c12 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -26,7 +26,6 @@ * @file */ - # bug 15461: Make IE8 turn off content sniffing. Everybody else should ignore this # We're adding it here so that it's *always* set, even for alternate entry # points and when $wgOut gets disabled or overridden. @@ -67,7 +66,7 @@ require_once "$IP/includes/AutoLoader.php"; require_once "$IP/includes/Defines.php"; # Start the profiler -$wgProfiler = array(); +$wgProfiler = []; if ( file_exists( "$IP/StartProfiler.php" ) ) { require "$IP/StartProfiler.php"; }