* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
[lhc/web/wiklou.git] / index.php
index d5a42a3..4bbf98f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -61,6 +61,8 @@ if ($wgTitle == NULL) {
        unset( $wgTitle );
 }
 
+wfProfileOut( 'main-misc-setup' );
+
 #
 # Send Ajax requests to the Ajax dispatcher.
 #
@@ -73,8 +75,6 @@ if ( $wgUseAjax && $action == 'ajax' ) {
        exit;
 }
 
-wfProfileOut( 'main-misc-setup' );
-
 # Setting global variables in mediaWiki
 $mediaWiki->setVal( 'action', $action );
 $mediaWiki->setVal( 'CommandLineMode', $wgCommandLineMode );