X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=load.php;h=e65b09ef17d97e7e30cbc1045aee0e17e56fd846;hb=7eebfa63264a4d1408d5fab98bb1bd4bd431c215;hp=e23180799b361bade47f7a53bdc2b9a37a4ad453;hpb=6063ffb150b8bd64692db42a696a6aafcf6a438c;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index e23180799b..e65b09ef17 100644 --- a/load.php +++ b/load.php @@ -1,6 +1,6 @@ checkUrlExtension() ) { // Respond to resource loading request. // foo()->bar() syntax is not supported in PHP4, and this file needs to *parse* in PHP4. $configFactory = ConfigFactory::getDefaultInstance(); -$resourceLoader = new ResourceLoader( $configFactory->makeConfig( 'main' ) ); +$resourceLoader = new ResourceLoader( + $configFactory->makeConfig( 'main' ), + LoggerFactory::getInstance( 'resourceloader' ) +); $resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) ); Profiler::instance()->setTemplated( true );