r14660 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14659‎ | r14660 | r14661 >
Date:13:27, 8 June 2006
Author:midom
Status:old
Tags:
Comment:
move autoloading up :)
Modified paths:
  • /trunk/phase3/includes/Setup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Setup.php
@@ -25,6 +25,8 @@
2626 if( !isset( $wgProfiling ) )
2727 $wgProfiling = false;
2828
 29+require_once( 'AutoLoader.php' );
 30+
2931 if ( function_exists( 'wfProfileIn' ) ) {
3032 /* nada, everything should be done already */
3133 } elseif ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) {
@@ -50,7 +52,6 @@
5153
5254 wfProfileIn( $fname.'-includes' );
5355
54 -require_once( 'AutoLoader.php' );
5556 require_once( 'GlobalFunctions.php' );
5657 require_once( 'Hooks.php' );
5758 require_once( 'Namespace.php' );

Status & tagging log