move autoloading up :)
authorDomas Mituzas <midom@users.mediawiki.org>
Thu, 8 Jun 2006 13:27:11 +0000 (13:27 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Thu, 8 Jun 2006 13:27:11 +0000 (13:27 +0000)
includes/Setup.php

index 682d176..3901142 100644 (file)
@@ -25,6 +25,8 @@ if ( !isset( $wgVersion ) ) {
 if( !isset( $wgProfiling ) )
        $wgProfiling = false;
 
+require_once( 'AutoLoader.php' );
+
 if ( function_exists( 'wfProfileIn' ) ) {
        /* nada, everything should be done already */
 } elseif ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) {
@@ -50,7 +52,6 @@ wfProfileOut( $fname.'-exception' );
 
 wfProfileIn( $fname.'-includes' );
 
-require_once( 'AutoLoader.php' );
 require_once( 'GlobalFunctions.php' );
 require_once( 'Hooks.php' );
 require_once( 'Namespace.php' );