From: Domas Mituzas Date: Thu, 8 Jun 2006 13:27:11 +0000 (+0000) Subject: move autoloading up :) X-Git-Tag: 1.31.0-rc.0~56835 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=b9dbaffd296ad0cafb2db1f6e689fda6a84dda36;p=lhc%2Fweb%2Fwiklou.git move autoloading up :) --- 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' );