X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebStart.php;h=dd27f3d602c26d282e4fed9d33728a77b9aee4a4;hb=d859a4a08d4e08dfbd4146a9540c628da92c1059;hp=2ae72dcc0031c667040756c739d66ad77cd8348c;hpb=1421f81ef9a6baa4793b4404d199cd4e79e51832;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebStart.php b/includes/WebStart.php index 2ae72dcc00..dd27f3d602 100644 --- a/includes/WebStart.php +++ b/includes/WebStart.php @@ -6,7 +6,7 @@ * MW_NO_SETUP is defined. * * Setup.php (if loaded) then sets up GlobalFunctions, the AutoLoader, - * and the configuration globals (though not $wgTitle). + * and the configuration globals. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,8 +58,8 @@ if ( $IP === false ) { $IP = realpath( '.' ) ?: dirname( __DIR__ ); } -# Load the profiler -require_once "$IP/includes/profiler/Profiler.php"; +# Grab profiling functions +require_once "$IP/includes/profiler/ProfilerFunctions.php"; $wgRUstart = wfGetRusage() ?: array(); # Start the autoloader, so that extensions can derive classes from core files