Index: trunk/phase3/includes/Setup.php |
— | — | @@ -25,6 +25,8 @@ |
26 | 26 | if( !isset( $wgProfiling ) ) |
27 | 27 | $wgProfiling = false; |
28 | 28 | |
| 29 | +require_once( 'AutoLoader.php' ); |
| 30 | + |
29 | 31 | if ( function_exists( 'wfProfileIn' ) ) { |
30 | 32 | /* nada, everything should be done already */ |
31 | 33 | } elseif ( $wgProfiling and (0 == rand() % $wgProfileSampleRate ) ) { |
— | — | @@ -50,7 +52,6 @@ |
51 | 53 | |
52 | 54 | wfProfileIn( $fname.'-includes' ); |
53 | 55 | |
54 | | -require_once( 'AutoLoader.php' ); |
55 | 56 | require_once( 'GlobalFunctions.php' ); |
56 | 57 | require_once( 'Hooks.php' ); |
57 | 58 | require_once( 'Namespace.php' ); |