X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebStart.php;h=d063ce3d6e0ec421833432c1283ad061b75620b7;hb=bb30a53039da0e0c14528d6f293c1d7b6b42b321;hp=7bc30390749146f55ff7bb36ffeae454c2589f63;hpb=df85890b76b18e0c9bc465984b63df6090955a5a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index 7bc3039074..d063ce3d6e 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -26,6 +26,9 @@ * @file */ +if ( ini_get( 'mbstring.func_overload' ) ) { + die( 'MediaWiki does not support installations where mbstring.func_overload is non-zero.' ); +} # 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 @@ -67,7 +70,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"; }