Moved inclusion of UtfNormalDefines.php near other inclusions
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 10 May 2011 19:03:23 +0000 (19:03 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 10 May 2011 19:03:23 +0000 (19:03 +0000)
includes/Setup.php

index 63bfa54..2310155 100644 (file)
@@ -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 );