X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=load.php;h=3f0c3df2938a3b9124a057f299c8ab8754fcd1e5;hb=77f4ba184762186431748c2cd95ec97d43cd1edc;hp=4d34e5ddca3ee6ca9f4365e29ceadcdf87c0b977;hpb=c1c3302286deb92f3eb81a39b5ee61f8c413f5ad;p=lhc%2Fweb%2Fwiklou.git 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' );