http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97504

Revision: 97504
Author:   reedy
Date:     2011-09-19 15:18:17 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
Followup r97502, 1.18-i[sz]e StartProfiler.php

Modified Paths:
--------------
    branches/wmf/1.18wmf1/StartProfiler.php

Modified: branches/wmf/1.18wmf1/StartProfiler.php
===================================================================
--- branches/wmf/1.18wmf1/StartProfiler.php     2011-09-19 15:16:21 UTC (rev 
97503)
+++ branches/wmf/1.18wmf1/StartProfiler.php     2011-09-19 15:18:17 UTC (rev 
97504)
@@ -13,26 +13,26 @@
      ( !($rand % 10) && $host == 'ja.wikipedia.org' )
 ) {*/
 if ( @$_SERVER['REQUEST_URI'] == 
'/w/index.php?title=United_States&action=submit' ) {
-       require_once( dirname(__FILE__).'/includes/ProfilerSimpleUDP.php' );
+       require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleUDP.php' );
        $wgProfiler = new ProfilerSimpleUDP;
        $wgProfiler->setProfileID( 'bigpage' );
 } elseif (@defined($_REQUEST['forceprofile'])) {
-    require_once( dirname(__FILE__).'/includes/ProfilerSimpleText.php' );
+    require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleText.php' );
     $wgProfiler = new ProfilerSimpleText;
     $wgProfiler->setProfileID( 'forced' );
 } elseif (@defined($_REQUEST['forcetrace'])) {
-    require_once( dirname(__FILE__).'/includes/ProfilerSimpleTrace.php' );
+    require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleTrace.php' );
     $wgProfiler = new ProfilerSimpleTrace;
 } elseif ( strpos( @$_SERVER['REQUEST_URI'], '/w/thumb.php' ) !== false ) {
-       require_once( dirname(__FILE__).'/includes/ProfilerSimpleUDP.php' );
+       require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleUDP.php' );
        $wgProfiler = new ProfilerSimpleUDP;
        $wgProfiler->setProfileID( 'thumb' );
 } elseif ( $host == 'test2.wikipedia.org' ) {
-       require_once( dirname(__FILE__).'/includes/ProfilerSimpleUDP.php' );
+       require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleUDP.php' );
        $wgProfiler = new ProfilerSimpleUDP;
        $wgProfiler->setProfileID( 'test2' );
 } elseif ( !( $rand % 50 ) ) {
-       require_once( dirname(__FILE__).'/includes/ProfilerSimpleUDP.php' );
+       require_once( 
dirname(__FILE__).'/includes/profiler/ProfilerSimpleUDP.php' );
        $wgProfiler = new ProfilerSimpleUDP;
        /*
        if ( $host == 'en.wikipedia.org' ) {
@@ -54,10 +54,10 @@
        #$wgProfiler->setMinimum(5 /* seconds */);
 }
 elseif ( defined( 'MW_FORCE_PROFILE' ) ) {
-       require_once( dirname(__FILE__).'/includes/Profiler.php' );
+       require_once( dirname(__FILE__).'/includes/profiler/Profiler.php' );
        $wgProfiler = new Profiler;
 } else {
-       require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
+       require_once( dirname(__FILE__).'/includes/profiler/ProfilerStub.php' );
 }
 
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to