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
Update git submodules
[lhc/web/wiklou.git]
/
load.php
diff --git
a/load.php
b/load.php
index
4d34e5d
..
3f0c3df
100644
(file)
--- 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 );
// 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
require __DIR__ . '/includes/WebStart.php';
// URL safety checks
@@
-45,7
+47,7
@@
$context = new ResourceLoaderContext( $resourceLoader, $wgRequest );
// Respond to ResourceLoader request
$resourceLoader->respond( $context );
// Respond to ResourceLoader request
$resourceLoader->respond( $context );
-Profiler::instance()->set
Templated( true
);
+Profiler::instance()->set
AllowOutput(
);
$mediawiki = new MediaWiki();
$mediawiki->doPostOutputShutdown( 'fast' );
$mediawiki = new MediaWiki();
$mediawiki->doPostOutputShutdown( 'fast' );