Follows-up
26c2d03c17,
41d1fa1c3a and r11547 (
c7f363f886).
Also add references to the relevant tasks about why the check
exists.
Bug: T189966
Change-Id: Ic1f0c79a1b5638bb30351a0cab55699931d1fded
* Pre-config setup: Before loading LocalSettings.php
*/
+// Sanity check (T5782, T122807)
+if ( ini_get( 'mbstring.func_overload' ) ) {
+ die( 'MediaWiki does not support installations where mbstring.func_overload is non-zero.' );
+}
+
// Start the autoloader, so that extensions can derive classes from core files
require_once "$IP/includes/AutoLoader.php";
* @file
*/
-if ( ini_get( 'mbstring.func_overload' ) ) {
- die( 'MediaWiki does not support installations where mbstring.func_overload is non-zero.' );
-}
-
# T17461: 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.