From: Alexandre Emsenhuber Date: Tue, 10 May 2011 19:03:23 +0000 (+0000) Subject: Moved inclusion of UtfNormalDefines.php near other inclusions X-Git-Tag: 1.31.0-rc.0~30295 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=f40fb98c10d9c462b38ee26b865a614e1f4bacc5;p=lhc%2Fweb%2Fwiklou.git Moved inclusion of UtfNormalDefines.php near other inclusions --- diff --git a/includes/Setup.php b/includes/Setup.php index 63bfa54607..2310155174 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -323,6 +323,8 @@ if ( !defined( 'MW_COMPILED' ) ) { require_once( "$IP/includes/ImageFunctions.php" ); wfProfileOut( $fname . '-includes' ); } +require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); + wfProfileIn( $fname . '-misc1' ); # Raise the memory limit if it's too low @@ -455,8 +457,6 @@ foreach ( $wgExtensionFunctions as $func ) { wfDebug( "Fully initialised\n" ); $wgFullyInitialised = true; -wfProfileOut( $fname . '-extensions' ); - -require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); +wfProfileOut( $fname . '-extensions' ); wfProfileOut( $fname );