dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Explicitly declare ApiFormatXml::addXslt() protected
[lhc/web/wiklou.git]
/
load.php
diff --git
a/load.php
b/load.php
index
1d6a242
..
c6452fb
100644
(file)
--- a/
load.php
+++ b/
load.php
@@
-31,11
+31,9
@@
if ( !$wgRequest->checkUrlExtension() ) {
return;
}
return;
}
-// Respond to resource loading request.
-// foo()->bar() syntax is not supported in PHP4, and this file needs to *parse* in PHP4.
-$configFactory = ConfigFactory::getDefaultInstance();
+// Respond to ResourceLoader request
$resourceLoader = new ResourceLoader(
$resourceLoader = new ResourceLoader(
-
$configFactory
->makeConfig( 'main' ),
+
ConfigFactory::getDefaultInstance()
->makeConfig( 'main' ),
LoggerFactory::getInstance( 'resourceloader' )
);
$resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) );
LoggerFactory::getInstance( 'resourceloader' )
);
$resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) );