From b9dbaffd296ad0cafb2db1f6e689fda6a84dda36 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Thu, 8 Jun 2006 13:27:11 +0000 Subject: [PATCH] move autoloading up :) --- includes/Setup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Setup.php b/includes/Setup.php index 682d176cf6..390114227c 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -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' ); -- 2.20.1