X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=load.php;h=ef2df3126f3dffc452a9108a6dcb55f6366d495a;hb=429a22cd088d9ca3d543b10b722f02c32979169f;hp=8b2390931d1cf28c38829b96e8e729590a506dda;hpb=dd53b928b933ece1478c04b41c1ef3067ecbebae;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index 8b2390931d..ef2df3126f 100644 --- a/load.php +++ b/load.php @@ -31,7 +31,6 @@ if ( !function_exists( 'version_compare' ) || version_compare( PHP_VERSION, '5.3 require __DIR__ . '/includes/WebStart.php'; -wfProfileIn( 'load.php' ); // URL safety checks if ( !$wgRequest->checkUrlExtension() ) { @@ -44,7 +43,7 @@ $configFactory = ConfigFactory::getDefaultInstance(); $resourceLoader = new ResourceLoader( $configFactory->makeConfig( 'main' ) ); $resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) ); -wfProfileOut( 'load.php' ); +Profiler::instance()->setTemplated( true ); wfLogProfilingData(); // Shut down the database.