X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=load.php;h=43c2fafce817a999276364e1acd7ba299f415664;hb=16aad56c847b9fc02774f358ceebe55445a872f0;hp=e23180799b361bade47f7a53bdc2b9a37a4ad453;hpb=58ff7981dee5c5b8409f112bdc8f2f2c0e14cc2b;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index e23180799b..43c2fafce8 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 );