Merge "Setup: Move mbstring.func_overload from WebStart to Setup"
This commit is contained in:
commit
37d9285d78
2 changed files with 5 additions and 4 deletions
|
|
@ -37,6 +37,11 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
* 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";
|
||||
|
||||
|
|
|
|||
|
|
@ -25,10 +25,6 @@
|
|||
* @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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue