X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=load.php;h=9f594e5f117d466e497b636e15063a82ea82db01;hb=a52f1eef8088f4df633884892be51621a73c81d3;hp=9affd3d037937b82d75afdc8302d058a571ca151;hpb=d9e6d84035e78ae37f2193f88302f4d4b8d73e97;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index 9affd3d037..9f594e5f11 100644 --- a/load.php +++ b/load.php @@ -22,7 +22,7 @@ * @author Trevor Parscal * */ - + require ( dirname( __FILE__ ) . '/includes/WebStart.php' ); wfProfileIn( 'load.php' ); @@ -45,10 +45,11 @@ if ( $wgRequest->isPathInfoBad() ) { } // Respond to resource loading request -ResourceLoader::respond( new ResourceLoaderContext( $wgRequest, $wgServer . $wgScriptPath . '/load.php' ) ); +$resourceLoader = new ResourceLoader(); +$resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) ); wfProfileOut( 'load.php' ); wfLogProfilingData(); // Shut down the database -wfGetLBFactory()->shutdown(); \ No newline at end of file +wfGetLBFactory()->shutdown();