Got rid of about 20 regex calls in braceSubstitution() relating to function-like...
[lhc/web/wiklou.git] / index.php
index 45dbb07..f18fa8a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Main wiki script; see docs/design.txt
  * @package MediaWiki
  */
-$wgRequestTime = microtime();
+$wgRequestTime = microtime(true);
 
 # getrusage() does not exist on the Microsoft Windows platforms, catching this
 if ( function_exists ( 'getrusage' ) ) {
@@ -94,7 +94,7 @@ $title = $wgRequest->getVal( 'title' );
 # Send Ajax requests to the Ajax dispatcher.
 #
 if ( $wgUseAjax && $action == 'ajax' ) {
-       require_once( 'ajax.php' );
+       require_once( 'AjaxDispatcher.php' );
 
        $dispatcher = new AjaxDispatcher();
        $dispatcher->performAction();