X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=load.php;h=ef2df3126f3dffc452a9108a6dcb55f6366d495a;hb=cfaaff106862e84bb15e4bc21acd43843715cb2f;hp=8b2390931d1cf28c38829b96e8e729590a506dda;hpb=c1fab2ba1ddffd689fc99a0651c3aa8e7dc4ac60;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.