From f40fb98c10d9c462b38ee26b865a614e1f4bacc5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 10 May 2011 19:03:23 +0000 Subject: [PATCH] Moved inclusion of UtfNormalDefines.php near other inclusions --- includes/Setup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.20.1