X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=load.php;h=3f0c3df2938a3b9124a057f299c8ab8754fcd1e5;hp=4d34e5ddca3ee6ca9f4365e29ceadcdf87c0b977;hb=7ba1880c751be0a45354ff93ff50550f05380e87;hpb=2b14cc0096de48b4863ea7daee55951701f6dc99 diff --git a/load.php b/load.php index 4d34e5ddca..3f0c3df293 100644 --- a/load.php +++ b/load.php @@ -28,6 +28,8 @@ use MediaWiki\MediaWikiServices; // details of the session. Enforce this constraint with respect to session use. define( 'MW_NO_SESSION', 1 ); +define( 'MW_ENTRY_POINT', 'load' ); + require __DIR__ . '/includes/WebStart.php'; // URL safety checks @@ -45,7 +47,7 @@ $context = new ResourceLoaderContext( $resourceLoader, $wgRequest ); // Respond to ResourceLoader request $resourceLoader->respond( $context ); -Profiler::instance()->setTemplated( true ); +Profiler::instance()->setAllowOutput(); $mediawiki = new MediaWiki(); $mediawiki->doPostOutputShutdown( 'fast' );